Forums
DOM-Object-Structure of newly added/edited picture-upload corrupt
-
Hi,
I am new to this forum and first of all: thanks for the great android app. I use it on a HTC Hero with Android 2.1.
I noticed the following:
When I use Wordpress for Andoird to add a new post and include pictures with thumbnails in my blog-entry, everything works just fine. The pictures have a little thumbnail and are clickable for a full size image. Still, when I want to edit the post and add some more pictures to it, the DOM-Objects in the blog-entry get corrupted. That is, that suddenly the hyperlinks dont enclose the img-tag anymore. I inspected the Problem with Firebug. Here the HTML before and after the bug:-Blog entry being o.k. after first upload with pictures
<div class="entry"> <p>Some text…</p> <p> <a alt="image" href="http://.../wpid-IMAG000715.jpg" > <img alt="image" src="http://.../wpid-IMAG000714.jpg" /> </a> <br /> <a alt="image" href="http://.../wpid-sim_serial_transmitter9.bmp" > <img alt="image" src="http://homepages.fh-giessen.de/.../wpid-sim_serial_transmitter8.bmp" /> </a> </p> </div>- Entry after adding a picture
<div class="entry"> <p>Some text…</p> <p> <img src="http://.../wpid-IMAG000714.jpg"> <a href="http://.../wpid-IMAG000715.jpg" ></a> <img src="http://.../wpid-sim_serial_transmitter8.bmp"> <a href="http://.../wpid-sim_serial_transmitter9.bmp" ></a> </p> <p> <a alt="image" href="http://.../wpid-checkbox_checked3.png" > <img alt="image" src=".../wpid-checkbox_checked2.png" /></a> </p> </div>Notice that a new paragraph tag was opened and the hyperlink-tags of the first dont enclose the img-tag anymore, making em unclickable in the browser. Does this have to do with my wordpress settings, itis the parsing of the xml-rpc stream, or is it just me?
Thanks a lot.
Cheers,
Grunsh -
Forgot: i tested with wordpress 2.8 and wp for Android 1.3
Topic Closed
This topic has been closed to new replies.