[sword-devel] bug in the OSIS html filters
niccarter at mac.com
Sat Oct 4 05:33:40 MST 2014
I just had it reported that in the SVN version of the OSIS html filters (both the htmlhref and the xhtml, so perhaps elsewhere as well?) opening a "super" tag will create a <sup> html tag and closing a "sup" tag will create a </sup> tag. Closing a "super" tag will instead create a </i> tag.
I have committed a fix to my PS fork but am uncomfortable trying to patch SVN as I already have several changes to osishtmlhref.cpp that may not be accepted in a patch (such as replacing '&' with '&' and removing loads of html elements (such as 'em', 'font' and 'small') and replacing them with a much smaller number of generic elements that use classes for presentation). Also, I haven't had time to investigate how far-reaching the bug is?
More information about the sword-devel