Closed nfplee closed 10 years ago
I haven't seen that issue. Can you create a jsfiddle or a complete example of what you are doing? Thanks.
I've just played around with this and realized my safe html format function was converting <p></p> to <p />. I re-produced the problem with jsfiddle:
However on review I don't consider this to be a bug with jsRender but with my html sanitizer. Therefore I have closed the issue.
Yes, JsViews validates for badly formed HTML such as <p/>
If I say:
{{:text}}
Where text is:
Then it throws the error:
"JsRender Error: Syntax error '<p... />' in: #1`#2`..."