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

Mungo start tag is parsed out even in quoted strings #16

Open
mamurphy opened this issue Dec 5, 2017 · 0 comments
Open

Mungo start tag is parsed out even in quoted strings #16

mamurphy opened this issue Dec 5, 2017 · 0 comments

Comments

@mamurphy
Copy link
Member

mamurphy commented Dec 5, 2017

This will cause an error: <%

my $embedded = '<%= "some text" %>'; # mis-parse on this line

%>

Mungo does not check to see if a start tag is quoted.

Workaround currently include slash-escaping or breaking the string into pieces.

Test 07-include/include-string currently uses the workaround (rev61) Test 04-parser/quoted-start-tag-bug17 currently demonstrates the problem (rev61)

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

No branches or pull requests

1 participant