Support » Fixing WordPress » Incorrect html in causes error when posting image through xmlrpc..

  • For quite a while I have been posting to my blog happily using the xmlrpc way from my mobile phone.

    For some time now I am having trouble with that and I am unable to fix it, but I can’t really say when it first appeared or if it was due to an upgrade.

    When I use e.g. the WP for Android app to post a picture the result looks like this – no matter, if I create a new post or a new page.

    Inspecting the page in Chrome I found out that the part of the page that actually refers to the image looks like this:
    <p>img title="picture.jpg" class="alignnone" alt="image" src="http://blog.gerstacker.org/wp-content/uploads/2011/12/wpid-picture.jpg" /</p>

    It works fine, if I manually change it to look like this:
    <p><img title="picture.jpg" class="alignnone" alt="image" src="http://blog.gerstacker.org/wp-content/uploads/2011/12/wpid-picture.jpg" ></p>

    I have disabled all plugins, changed the theme, used different xmlprc-client but the result is still the same.

    I also had the problem that the quotes in this part of teh code showed up as smart quotes. I fixed that by installing the ‘Smart Quotes’ plugin – it did not fix the other issue though.

    Here is more detail on the code – after my correction.

    Anybody got an idea?

  • The topic ‘Incorrect html in causes error when posting image through xmlrpc..’ is closed to new replies.