Forums / Setup & design / header-tag in xml-fields - bug or feature?

header-tag in xml-fields - bug or feature?

Author Message

Georg Franz

Monday 06 October 2003 1:32:39 am

Hi,

i've tried to create an article with some headers in the body.

Something like
bla bla ...
<header level='2'>title 2</header>
bla bla ...
<header level='2'>title 3</header>

and so on.

After saving the article the first header level was set to 1 by the system.

So following appears:

bla bla ...
<header level='1'>title 2</header>
bla bla ...
<header level='2'>title 3</header>

So - it's a bug or a feature? ;-)

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Paul Forsyth

Monday 06 October 2003 2:55:09 am

Its a feature :/

Remember that an xml field isn't html. But, it should be easier to relate a header to html...

Take a look here for a workaround:

http://ez.no/developer/ez_publish_3/forum/setup_design/header_level3_gets_formatted_to_header_level1_in_xml_text_field

paul