ChaoticWeg
ChaoticWeg

Reputation: 291

Converting HTML to Jade

I'm writing a Node.js application (using Jade and Express) that fetches posts from a Tumblr blog and displays them. Unfortunately, Tumblr sends my site a block of raw HTML, which shows up as such on the main page (which is where it should be, only it's still a block of raw HTML).

How would I go about converting this block of raw HTML into what I need?

Upvotes: 0

Views: 703

Answers (1)

novalagung
novalagung

Reputation: 11532

You need to use !{} to display it as HTML

.content !{post.content}

Upvotes: 3

Related Questions