Pregunta

This jade:

h1 a < b

Produces this HTML:

<h1>a < b</h1>

How can I get it to automatically escape the <? (i.e. not typing in &lt; myself)

<h1>a &lt; b</h1>
¿Fue útil?

Solución

this h1 a < b is a shortcut for h1!= "a < b"

just use this here:

h1= "a < b"
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top