Skip to content

Require at least one non-whitespace character in directives.#1

Merged
mjrusso merged 1 commit intomasterfrom
fix/directive-regex
Aug 19, 2014
Merged

Require at least one non-whitespace character in directives.#1
mjrusso merged 1 commit intomasterfrom
fix/directive-regex

Conversation

@drusso
Copy link
Copy Markdown
Collaborator

@drusso drusso commented Aug 18, 2014

This fixes a crash caused by using [[#include ]] (note the whitespace after the #include). This fix ignores any directives that do not include a non-whitespace character.

mjrusso added a commit that referenced this pull request Aug 19, 2014
Require at least one non-whitespace character in directives.
@mjrusso mjrusso merged commit ca660ef into master Aug 19, 2014
@mjrusso mjrusso deleted the fix/directive-regex branch August 19, 2014 02:35
@mjrusso
Copy link
Copy Markdown
Owner

mjrusso commented Aug 19, 2014

Thanks @drusso. I've merged and added f22ffb1 to test the new behaviour (mainly, to confirm that there is no crash).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants