cclaerhout
Well-known member
It would be convenient to add an "allow empty tag content" option to the handler and a check at this line:
Example:
Example of purpose: support html anchors.
PHP:
if ($outputText !== '' || $tag->isVoid())
Example:
PHP:
if (($outputText !== '' || !empty($handler['allowEmptyContent'])) || $tag->isVoid())
Example of purpose: support html anchors.
Upvote
0