How to make Jade stop HTML encoding element attributes, and produce a literal string value?

Derick has already mentioned that Jade added new feature for unescape HTML encoding in update, but I’d like to add some addendum for someone who might not recognize.

- var html = "<script></script>"
| !{html} <-- Escaped
| #{html} <-- Encoded

from https://github.com/visionmedia/jade

Leave a Comment