[TYPO3-english] how to remove empty <p> tags

Sarvesh Bapat sarvesh.bapat at lelesys.com
Wed Sep 22 07:39:12 CEST 2010


Hi Sergey

Thanks for the quick response.
In my case empty <p> tags coming from the seminar extension single view 
and NOT from the RTE
my structure is like this

<h4>Ort</h4>
<p></p>
<p>some text</p>

and i want to remove those empty <p> tags from the html somehow to 
manage the css and extra spacing between the lines.

please advice!

Thanks
Sarvesh



Sergey Alexandrov wrote:
> lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.removeTags = p
>
> removes P from inside TD
>
> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org
> [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Sarvesh Bapat
> Sent: Tuesday, September 21, 2010 6:44 AM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] how to remove empty <p> tags
>
> Hi Everybody
>
> anybody knows how to strip / remove unwanted empty <p></p> tags from the 
> html using typoscript / jquery?
>
> Thanks,
> Sarvesh Bapat
>
>   


-- 
Sarvesh Bapat
Software Developer
Lelesys Infotech Pvt. Ltd.
Mob: +91 9421189384



More information about the TYPO3-english mailing list