How to output ${expression} in FreeMarker that contains HTML AS HTML

In my data model myVar contains <b>hello</b> and when I bring it like this ${myVar} the output I get is literally <b>hello</b> rather than hello.

Any idea how to correct this?

Answers


Certainly you have HTML escaping on, so try <#noescape>${myvar}</#noescape>.


Need Your Help

Should I be adding the Django migration files in the .gitignore file?

python django git

Should I be adding the Django migration files in the .gitignore file?

Missing gem after changing shell to ksh

linux shell unix rake

my MAC is getting hair-wired after I change console to ksh, and change it back again to /bin/bash

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.