Issue Feature Closed

#72045Keep tags feature for HTMLparser stripEmptyTags

Alexander Stehlik 12/03/15, 12:19 updated 10/02/18, 11:26

Description

Currently the HTMLparser.stripEmptyTags only allows the configuration of a list of tags that should be removed.

It would be a nice addition if the list of provided tags is used to define the tags that should NOT be removed (e.g. table cells).

A possible configuration could look like this:

stripEmptyTags = 1
stripEmptyTags.tags = tr,td
stripEmptyTags.keepTags = 1

Reviews 1