Skip to content

Conversation

@eush77
Copy link

@eush77 eush77 commented Jun 28, 2014

DoT intentionally does not encode an ampersand if it is a part of HTML entity (btw, why? @olado).

In index.html, event handlers call DoT and apply String#encodeHTML afterwards, which annihilates any difference between {{= }} and {{! }} for the reason described above. As a result, it is impossible to spot any difference between those two in the output.

The patch in question fixes this behavior by encoding ampersands by hand before applying String#encodeHTML.

P.S. Why does all the JavaScript have to fit in a (huge) single line?

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.

1 participant