> On 4 Jun 2015, at 17:38, 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 &lt;strong&gt;ipsum&lt;/strong&gt; 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?



That's not a dust problem -- it's encoded once already in your edit box, so 
dust is just faithfully reproducing that text.

You want to unescape the html entities -- check out the ent and he modules.

Aria

-- 
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/CC2F183F-68DB-45D5-A5A4-4FD0C89F2F3F%40dinhe.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to