HTML character entities not properly rendered in eZ v3.6.4

Author Message

Espen R

Monday 16 January 2006 5:28:00 am

When I use {attribute_view_gui attribute=$node.object.data_map.description} to output the contents of a XML field node attribute, the output will not contain any HTML character entities. Why is this?

If special characters are not encoded, the page will not validate. Which of course is bad.

Roy Bøhmer

Monday 16 January 2006 5:42:44 am

Hi Espen!

http://ez.no/doc/ez_publish/technical_manual/3_6/reference/xml_tags lists the current available default xml-tags to use in xml-fields. Take a look at the literal-tag. HTML-tags are not directly supported.
It is also possible to make your own xml-tags.
The way xml-tags are presented in attribute_view_gui is template driven.

In the beginning things like this drove me crazy, but now i see it as the beauty of eZ :-) Good luck!

Roy

Espen R

Monday 16 January 2006 6:18:37 am

It's not what I meant. The special characters like the Norwegian æ,ø and å are not encoded.

Since I'm still new to this interesting puzzle called eZ, it's quite a challenge to get it to do what I want it to do.

Now I'm quite sure I'm not the first person to have this problem.. Maybe I am supposed to edit a kernel file to alter the way XML is rendered?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.