Thread:Project:Support desk/How to insert a html table inside a mediawiki extension??/reply (3)

You should also think about to use our Html/Xml classes to build a table or any other element. The advantage is, that these classes (normally, see the documentation for it) escape the contents, e.g. if you sometimes want to output (or it is possible, that you want to output) user inputs, they can insert code which is directly added to the output (that can be really bad). E.g. for a table you can use Xml::buildTable.