• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

cclaerhout

Well-known member
#1
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.