Answer the question
In order to leave comments, you need to log in
How to insert tags in json?
Hello dear developers.
In my layout template I use jade in which I display content from json.
Those. I create a regular .json file into which I drive content, like this:
{
"reviews" : {
"review1" : {
"name" : "Vasya",
"age" : 25
}
}
}
{
"reviews" : {
"review1" : {
"name" : "Меня зовут <span>Вася</span>",
"age" : 25
}
}
}
<span>Вася</span>
, i.e. tags are not applied, but are displayed as text. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question