H
H
HamSter2016-06-30 16:26:06
HTML
HamSter, 2016-06-30 16:26:06

Is it possible to add a link to text in an array in jade?

example
Question: is it possible to - var workListinsert texts:links into an array?
Now like this:

texts: ' Lorem ipsum dolor sit amet, consectetur adipisicing elit. '

Generated in:
<p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. </p>

It needs to be generated in:
<p> Lorem ipsum dolor <a href="link.html"> sit amet </a>, consectetur adipisicing elit. </p>

* If you paste the link in
texts: ' Lorem ipsum dolor <a href="link.html"> sit amet </a>, consectetur adipisicing elit. '

It just generates text like this:
Dolor &lt;a href=&quot;link.html&quot;&gt;sit amet&lt;/a&gt;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
ArturArturov, 2016-06-30
@HamSter007

p.work-content__deskription!= work.deskription
joxi.ru/krDO9Pph0l9vBA

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question