Trim HTML

Categories

Component ID

2183605

Component name

Trim HTML

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1024

Component created

Component changed

Component body

Getting rid of trailing HTML "whitespaces" (e.g. <p> </p>, <br/>) using a text filter.

This is useful when using a WYSIWYG editor for instance.

Enable the module and add the 'Trim HTML' text filter to your text format. You might have to play with the order. For me placing the 'Trim HTML' text filter to the first place worked.

Development sponsored by KYbest.