wordpress-mobile / WordPress-Editor-Android

⛔️ [DEPRECATED] A reusable Android rich text editor component.
GNU General Public License v2.0
188 stars 50 forks source link

Uploading an image with the cursor in the middle of a sentence adds span tags #447

Open aforcier opened 8 years ago

aforcier commented 8 years ago

A parsing error happens when uploading images while in the middle of a word or sentence, causing the progress bar not to display. After the upload completes, everything looks normal, but there's a hidden span tag before the image tag, which gets uploaded with the post.

<span id="img_container_1471735653839" class="img_container"></span>

Confirmed not to be an autocorrect issue, found on a 5.0 emulator and 6.0.1 device.