GNOME Bugzilla – Bug 666057
Entity names in attribute strings are not parsed/converted.
Last modified: 2018-08-03 19:58:58 UTC
While lasem parses entity named in body text correctly, it doesn't in attribute strings. For exapmle, the mathml below is rendered correctly, <mo>⌊</mo><mo>⌋</mo> however, the one blow isn't. A warning is shown as : Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() <mfenced open="⌊" close="⌋"></mfenced> The one below works. <mfenced open="⌊" close="⌋"></mfenced>
Created attachment 204441 [details] [review] Attribute entity parsing hack In order to parse entities in attribute value, libxml parser should be given the XML_PARSE_NOENT option. Unfortunately, there is no API when using xmlSAXUserParseMemory. Here's a hack that enables entity parsing in attribute values.
Are you going to incorporate the patch into th main trunk ?
I'm not sure yet. It depends on the answer to the blocking bug 667118.
Mass-fixing incorrect QA contact scheme for lasem so interested people can follow its development. (See 580127#c1 for ref.)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/lasem/issues/5.