Lack of interest Html to Bb Code renderer - allow empty tag content

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

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:
PHP:
if ($outputText !== '' || $tag->isVoid())

Example:
PHP:
    if (($outputText !== '' || !empty($handler['allowEmptyContent'])) || $tag->isVoid())

Example of purpose: support html anchors.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom