Extra <a name=360_0_1></a> is generated

Author Message

Softriva .com

Friday 25 August 2006 1:05:35 pm

eZ is generating extra empy anchor tag which does not validate in W3C validator.

<a name=360_0_1></a><h3>Title</h3>

How can I stop easy from generating these extra anchor tags

Softriva .com

Friday 25 August 2006 1:48:10 pm

After searching I found out that this is generated by something called eztoc. Since I am running 3.8.1 and name=360_0_1 is generated. eZ 3.8.3 adds eztoc before the number as

<a name="eztoc360_0_1"></a><h3>Title</h3>

http://ez.no/community/bugs/xhtml_conformance_of_generated_anchor_tags_preceding_the_header_a_name_xxx

But still need to turn this feature off

Kristof Coomans

Friday 25 August 2006 10:02:49 pm

Hello OOzy

It's generated inside design\standard\templates\content\datatype\view\ezxmltags\header.tpl

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Softriva .com

Saturday 26 August 2006 12:21:13 am

Kristof,

Thank you, I found it, but what is the benefit of this eztoc feature?

Kristof Coomans

Sunday 27 August 2006 2:22:50 am

You can automatically generate a linked table of contents for an ezxml attribute with the eztoc operator ( http://pubsvn.ez.no/nextgen/trunk/doc/features/3.8/TOC_operator.txt ).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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