Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question