Subject: | Special XML characters should be expressed as entities |
If some database cells contain some special XML characters like "<",
then the resulting XHTML could be invalid. It would be nice if
DBIx::XHTML_Table would make entities of these special characters *by
default*. For now, one can use something like
$table->map_cell(sub { html(shift) })
to do it manually, where html() is some escaping function.
For some obscure applications where database cells already contain valid
XHTML snippets there could be an option to not do auto-escaping.
Regards,
Slaven