F
F
ForestEsprit2016-05-20 17:55:03
Pug
ForestEsprit, 2016-05-20 17:55:03

How to correctly insert text with special characters in JADE mixin?

There is a mixin, I insert it on the page, I call:
+card({ text : "Сюда<br> вставляем текст" })
Is it possible to insert text with special characters and <br>? Please provide a registration form.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2016-05-20
@ForestEsprit

It is not clear what is meant by special characters. In general, there should be no problems, Jade screens everything correctly, as a rule.
And to pass a piece of markup with br to the mixin and what else is needed there, see the Mixin Blocks section .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question