btford/angular-express-blog

New line

nodefourtytwo opened this issue · 0 comments

Using the example http://briantford.com/blog/angular-express.html I'm not able to multiline blog post.

\n obviously doesn't work

gets escaped by jade.

What I had to do (ugly) was to explode the text in an array of lines and for each line print a

{{line}}

.

any better solution? is it the right one?