Dust will escape for you by default, which can be disabled with |h like you tried...
...but it looks like what you need is a step further, to *unescape* your string. There might be a filter for this outside of dustjs, but I don't believe it has anything like that builtin. ~Ryan On Thu, 4 Jun 2015 at 16:58 JBD <jayter...@gmail.com> wrote: > Hi > > > > I am trying to figure out why some html I'm trying to display isn't > showing correctly. I use a formatted text box that saves the markup like > this: > > > > Lorem <strong>ipsum</strong> dolor sit amet… > > > > Instead of like: > > > > Lorem <strong>ipsum<strong> dolor sit amet… > > > > So when I display it with: > > {Destination.Description } or {Destination.Description|s } or > {Destination.Description|h > } or any other combo from the dust docs Iv'e tried > > It comes out like: > > Lorem <strong>ipsum</strong> dolor sit amet > > > > when it is rendered in the browser. > > > Does anyone know how to fix that? > > > Thanks, > > > JBD > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nodejs+unsubscr...@googlegroups.com. > To post to this group, send email to nodejs@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/cab86248-c666-418b-89fe-355023762f87%40googlegroups.com > <https://groups.google.com/d/msgid/nodejs/cab86248-c666-418b-89fe-355023762f87%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAGjmZGwW-kWOMASfHAxOgn3nAhiLadVPZzyCOpxuSFvGehS5Mw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.