I want to add line breaks in title field I managed to use the replace functions in the template >
{{ node.getTitle()|replace({'|': '<br />'}) }}
Replacement works, but outputs the field as non-HTML. Do you know about a way to force an HTML output? Or any other way to be the
a real line break instead?
raw
filter already?{{ node.getTitle() | replace({'|': '<br />'}) | raw }}