Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
strip p tags from visualformat
nico
I know i've seen this answered before in the forum but my search has come up empty. Can someone tell me how to strip the OPENING and CLOSING p tag sets from visualformat output.
Thanks,
Nico
Find more posts tagged with
Comments
nipper
Check out these articles:
TechNote 2073: Perl Script for removing <p> tags
The following is a script to remove <p> tags from your DCR. First cd to the data-type's "data" directory and then type in the name of the script followed by the name ...
http://devnet.interwoven.com/site.fcgi/techlib/002073
-
TechNote 50030: How to remove a leading P tag in Visualformat
This article gives an example on how to remove a leading <p> tag and its corresponding end tag so that there will be no line break before the first line of ...
http://devnet.interwoven.com/site.fcgi/techlib/050030
HTH
Andy
nico
Those are cool unfortunately the first completely strips out p tags and the second only strips the first set.
I need something that will remove the p tags from the first and last iteration only.
For example I have 3 paragraphs the 2nd paragraph should be the only one surrounded by p tags.
Thanks