I am using python-wordpress-xmlrpc to edit a page to wordpress, I generate some HTML and I am sending it to wordpress. The content is a piece of valid html code, it consists of regular html tags and some text. However when I browse to the page in Wordpress dashboard, the page content looks like:
h2My Product C++/h2 div style=”border: 2px solid #ECECEC;-webkit-box-shadow: 1px 2px 5px #888;” p align=”justify”bFDM/b (bx) is something nice
As you see
<div> has become
The HTML on the Python side looks OK, so I am guessing that I am not using the XML RPC correctly. Any ideas where/why this sort of corruption would occur?