V
V
Vlad Timofeev2015-01-12 19:19:33
HTML
Vlad Timofeev, 2015-01-12 19:19:33

How to make jade render valid html code?

Good day.
Here's the jade script tag. you can add a script to the page, but how to add a valid html code?

....
    .post
         #{post.text}
// или 
    .post
        <h2>Some text</h2> и т.д.
//Что бы вывело уже валидный html, а не строку "<h2>Some text</h2>"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2015-01-12
@PyTiMa

!{post.text}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question