samskivert / jmustache

A Java implementation of the Mustache templating language.
Other
834 stars 128 forks source link

Opening <a> tag not recognized? #83

Closed delenius closed 8 years ago

delenius commented 8 years ago

It seems that this does not work:

{{{<a href="https://www.promisejs.org/api/">Promise</a>}}}

I get an error saying that the closing </a> tag does not match whatever the previous opening tag is. The opening <a> tag is not recognized, I guess.

yihtserns commented 8 years ago

Is <a href="https://www.promisejs.org/api/">Promise</a> a variable name?

Why is it in {{{...}}}?

delenius commented 8 years ago

Hmm, the file I was working on was using <> as tags instead of {{ }}, but it was causing problems with literal HTML content. I switched to using {{ }} for this part, and avoided the problem.