With pug I am getting the variable back as already escaped html for exampleline one <br>\nline two <br>\n<p> with paragraph </p>
In pug own template I used !{description} which gives me the unescaped html such as line one <br>
line two <br>
<p> with paragraph </p>
But this is not what I want, I do not want to show the tag in the view and instead I want something like
line one
line two
with paragraph  <!-- this is hard to show -->
I also googled and thought of using jquery like this would work but nope.
        const gd = !{JSON.stringify(description)};
        $('#des').html(gd).text();
the above still shows the tag instead of using it as html.
Does anyone has any idea what how to make this work?
Thanks in advance for any help / suggestions.
 
    