Title: Incorrect html in causes error when posting image through xmlrpc..
Last modified: August 20, 2016

---

# Incorrect html in causes error when posting image through xmlrpc..

 *  [chairstacker](https://wordpress.org/support/users/chairstacker/)
 * (@chairstacker)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/incorrect-html-in-causes-error/)
 * 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.](http://blog.gerstacker.org/test)
 * 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](http://blog.gerstacker.org/wp-content/uploads/2012/01/correctedcode.jpg)
   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.

## Tags

 * [entry-content](https://wordpress.org/support/topic-tag/entry-content/)
 * [html format](https://wordpress.org/support/topic-tag/html-format/)
 * [xmlrpc](https://wordpress.org/support/topic-tag/xmlrpc/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [chairstacker](https://wordpress.org/support/users/chairstacker/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/incorrect-html-in-causes-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
