I have got a script to publish some data to wordpress using xmlrpc.

Basically make use of a simple string for that body like "Just a testInch it really works fine.

However, whether it has any HTML formatting inside it, it will get horribly mangled when attempting to include the publish.

How do you publish html content to wordpress with xmlrpc?

Here is a wordpress plugin that fixes an issue with some versions of the xml library that strips html: Plugin – LibXML2 Fix | Joseph Scott