Results 6 comments of Bill.大狗

Sorry, after thinking a while, I think it's better to render nothing for `$tagBuilder->addAttribute('attr', FALSE);`, rather than ` attr=""`, so both `$tagBuilder->addAttribute('attr', NULL);` and `$tagBuilder->addAttribute('attr', FALSE);` will have the same...

@s2b Yes, if we look at the result, only the behavior for `NULL` is changed. But in the process, there are also differences in how `TRUE` and `FALSE` are handled....

So do you mean `null` should behaviors the same as `false`, and remove all other changes?

Thank you Mathias and Simon! Feel free to let me know if anything I can help further on this issue.

To switch between `` and ``, like for `config.doctype = xhtml_*` or `config.doctype = html5` in TYPO3.