Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
extra <p></p> tags showing up in generated HTML
ttriemst
I have a question. I have a temaplate that is generating extra spaces in html. The folling is the item from my datacapture.cfg:
<item name="Posting Description">
<description>Enter a description of the item wanted</description>
<textarea cols='50' rows='15' wrap='virtual' line-break="BR" external-editor="visualformat" external-editor-config="classifieds.xml" />
</item>
According to the Templating Developers Guide (pg. 59), you can use a line-break to control the hard returns (to have them changed from <p> to <br>. This is all good, but it also says it is not valid for the Visual Format editor. Does anyone know how to keep the template from inserting <p></p> tags when generating html?
ie: in the text area you would enter
This is line one
This is line two
But when you generate HTML, it looks lik:
This is line one
This is line two
Find more posts tagged with
Comments
JonathonG
Couple of options:
1) Use Shift-Enter instead of Enter, that will insert a BR instead of a P
2) Change the VisualFormat config file. See
this
kb article on the Ektron website.
Jonathon
Independent Interwoven Contractor