I am trying to do something as follows, and I have no idea where to start looking it up even.
I am trying to create some object such as this
{
text: "hello {param1}",
param1: {
text:"world",
class: "bla"
}
}
The thing is I want to display it according to the text property like this:
<span> hello <span class="bla"> world </span></span>
Using a component for such thing won't really solve it - the only idea I have is using jquery, and I would like to avoid it. The text property format could be changed if it helps...