GNOME Bugzilla – Bug 768143
libxml-2.0 bindings for htmlEncodeEntities and UTF8ToHtml use out instead of ref
Last modified: 2016-07-21 14:15:29 UTC
Created attachment 330488 [details] [review] Patch that fix the described issue According to the documentation: > The value of @inlen after return is the number of octets consumed as the return value is positive, else unpredictable. The value of @outlen after return is the number of octets consumed. The proposed patch simply replace 'out' by 'ref'. Considering that it's not even working at the moment, I would not consider this as a breaking change.
Review of attachment 330488 [details] [review]: Patch looks good to me. The VAPI now matches the documented API for these two functions: http://xmlsoft.org/html/libxml-HTMLparser.html#htmlEncodeEntities http://xmlsoft.org/html/libxml-HTMLparser.html#UTF8ToHtml