Hi,

- There seem to be some bad displays when a page title contains '<' or '>'.

Display is correct in browser title bar, it is also correct in main content
area, in hierarchy, but not in page title. For a page with title "TestTest >
test", generated html looks like this :

<div id="hierarchy">
TestTest &gt; test
</div>
<div id="document-title">
TestTest* &amp;*gt; test

</div>

The bad trick is that the "&" of "&gt;" gets replaced by "&amp;" ...

- as a side question, is there a way to easily do the equivalent of velocity
"$escapetool.html($text)", but in {{groovy}} ? I use mainly groovy in my
pages, and would like to avoid passing parameters between groovy and
velocity just for this one use-case ...

Thanks,
Jeremie

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Characters-or-bad-display-in-page-title-tp6992580p6992580.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to