Forums / Setup & design / Override & extra paragraph tags

Override & extra paragraph tags

Author Message

Martin Crockett

Thursday 23 December 2004 3:24:40 am

Hi there,

I'm trying to get ez Publish to avoid printing extraneous paragraph tags.

When I loop through the intro text of several news articles, I'm left with extra <p></p> tags which is ruining the formatting.

What I did originally was to override the /content/datatype/view/ezxmltags/paragraph.tpl but this has a global effect across my site.

There's an entry here: http://ez.no/ez_publish/documentation/customization/custom_design/override_templates which half-describes the correct way to put the looped news articles in a section.

But-

The resulting HTML looks like this: "<p>Some text here.<!--...

<br /-->"

Anyone point me in the right direction to solve this one?

Happy holidays.