Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
277 views
in Q2A Core by
I have manually replaced all Upper case HTML  to lower case. However, cannot get <br> to output as <br/>

Can some please help me
by
Why XHTML compliance? XHTML is dead, HTML5 is king now.
Although personally as a style issue I much prefer lowercase HTML tags as I have mentioned here in the past.

1 Answer

0 votes
by

This is filtered out in function output_array(...) in qa-theme-base.php to allows tags to be indented by Q2A automatically, and to remain HTML4 compliant.

If you want to change this behavior, replace:

str_replace('/>', '>', $element)

... with ...

$element

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...