Answer the question
In order to leave comments, you need to log in
How to insert layout from an object in Jade?
there is an object that is parsed and inserted into Jade
soc =[
{
'img':'image.png',
'title':'Оптимизация молодых сайтов',
'text':'<p> Проверка текста</p>'
}
];
- each item in soc
.text #{item.text}
"<p> Проверка текста</p>"
Answer the question
In order to leave comments, you need to log in
Found the answer here
stackoverflow.com/questions/7402750/passing-html-e...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question