Question

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>
Était-ce utile?

La solution

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

just use this here:

h1= "a < b"
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top