You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into this. My first reaction was that your < needed to be escaped, however looking at the spec for HTML5 tag names it appears only alphanumeric ascii characters are allowed. This means I can improve the parser for this case. However this introduces a new problem: the dash - is not an alphanumeric character which is used by many people for web/custom components. The question is where I draw the line when deviating from the spec.
The workaround I did was exactly that. As I said, it is a pretty specific scenario that does not happen very often (I've been using himalaya for nearly a year and it was the first time).
About the dash, unfortunately it looks like each case might need to be treated differently. By now, the dash is the only character deviating from the spec, right?
Hello,
I'm facing a problem in my code where some input made by an user have < and/or >.
As i tested, my input is:
"<span class=""> >30 days and <= 120 days </span>"
and the json parser transforms it in:
That's a pretty specific scenario and anyways I already have a workaround for it. Just reported it so it could be tracked and later on fixed.
Thanks in advance!
The text was updated successfully, but these errors were encountered: