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>
Was it helpful?

Solution

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

just use this here:

h1= "a < b"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top