Working on converting the GCC website from HTML to XHTML, I've found out that Meta--HTML always translates a <div> tag as <DIV > (note the uppercase and trailing whitespace), thus making it impossible to obtain full XHTML compliance (wich requires lowercase tags). I've seen this behaviour is present in both Meta-HTML 5.091 and 6.11.01.
Investigating a bit, I've found the "guilty" piece of code in libmhtml/mathfuncs.c:
I've tried it and it works for the GCC web site, but don't know if it skrews up the <div> internal. Anyway, I'm attaching a patch to fix it as proposed...
Imported from: http://sourceforge.net/p/metahtml/bugs/1/ By: Andrea Bocci (fwyzard)
Working on converting the GCC website from HTML to XHTML, I've found out that Meta--HTML always translates a <div> tag as <DIV > (note the uppercase and trailing whitespace), thus making it impossible to obtain full XHTML compliance (wich requires lowercase tags). I've seen this behaviour is present in both Meta-HTML 5.091 and 6.11.01.
Investigating a bit, I've found the "guilty" piece of code in libmhtml/mathfuncs.c:
I've tried it and it works for the GCC web site, but don't know if it skrews up the <div> internal. Anyway, I'm attaching a patch to fix it as proposed...