Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing of hidden comments #1012

Merged
merged 1 commit into from
Mar 14, 2015
Merged

Conversation

redstar
Copy link
Contributor

@redstar redstar commented Mar 13, 2015

The hidden comment from the web site

//-title there is no title

is actually processed as

<//-title>there is no title<///-title>

because there is no whitespace between - and t. Jade treats //-title
as a hidden comment.

This PR fixes the parsing problem. I moved all the comment handling
code into one place, too.

The hidden comment from the web site

    //-title there is no title

is actually processed as

    <//-title>there is no title<///-title>

because there is no whitespace between - and t. Jade treats //-title
as a hidden comment.

This PR fixes the parsing problem. I moved all the comment handling
code into one place, too.
@s-ludwig
Copy link
Member

Looks good, thanks!

s-ludwig added a commit that referenced this pull request Mar 14, 2015
Fix parsing of hidden comments
@s-ludwig s-ludwig merged commit 87e5fb0 into vibe-d:master Mar 14, 2015
@redstar redstar deleted the commentparser branch March 14, 2015 10:15
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