You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm aware this is a pretty old library, but libxml2 deletes all my namespaces. So xml.el it is, and your xml-to-string seems to still be the discerning connoisseur's way to re-serialise it.
However I've discovered a bug - xml-to-string doesn't encode entities.
Hello! I'm aware this is a pretty old library, but
libxml2
deletes all my namespaces. Soxml.el
it is, and yourxml-to-string
seems to still be the discerning connoisseur's way to re-serialise it.However I've discovered a bug -
xml-to-string
doesn't encode entities.The fix is to use the function
(xml-escape-string )
when writing CDATA and attribute values.The text was updated successfully, but these errors were encountered: