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

Donatas Elvikis elvikis at mathematik.uni-kl.de
Wed Sep 22 08:31:31 CEST 2010


Hi Sarvesh,

you could have a look at the seminars template. It could be that this 
tag is 'hard-coded' and you only need to remove it from the template.

Cheers, Donatas

On 09/22/2010 07:39 AM, Sarvesh Bapat wrote:
> 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
>>
>
>


More information about the TYPO3-english mailing list