https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12123

--- Comment #37 from David Cook <dc...@prosentient.com.au> ---
(In reply to Katrin Fischer from comment #36)
> Be careful with the check - HTML5 is not valid XML. Unclosed <p> tags are
> perfectly valid. Often browsers are forgiving and probably mail clients too.
> We don't want to break display in more cases than now, that will annoy the
> libraries.

Good call.

In PHP, I used to use http://php.net/manual/en/book.tidy.php but that was
pre-HTML5 I think. 

Might be worth looking for a HTML specific module?

Also, I'm pretty sure XML::Simple is a bad choice of XML modules. The author of
it even discourages its use. No one should ever use it again I reckon.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to