To be able to use underscore variable inside the Jade's attribute (make it unescaped)
use !=
instead of only =
.
example
img(src!="<%= coverImage %>", height="100px")
taken from pugjs/pug#198
To be able to use underscore variable inside the Jade's attribute (make it unescaped)
use !=
instead of only =
.
example
img(src!="<%= coverImage %>", height="100px")
taken from pugjs/pug#198