confused about html escaping
S Ahmed <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <CAG2rwuNZXQ2uKJNDDx4nqSn4S5OhtVk4y8pXQ0SA0ZrqC4TY7A@mail.gmail.com> |
My page is wrapped in a module that does has html escaping:
<#escape x as x?html>
..
<#nested>
..
</#escape>
Then my nested section is outputing the values of a collection like this:
<pre>
<#list someCollection as doc>
<div class="line">${doc.line}</div>
</#list>
</pre>
Now the value of line is like "< some text here>"
But on my page, it is showing up as blank. Looking at the actual rendered
html it shows blank also. When I set a breakpoint in my code, I can see
that the collection has the value "< some text here >" for the item in the
collection 'someCollection'.
I tried removing the <#escape x as x?html> also and nothing changed, still
don't see the row.
I just want to safely display this information like this in the html: <
some text here >
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user