Unable to post on steemit due to the presence of an img tag in a code block.

in #utopian-io7 years ago (edited)

Project Information

Expected behavior

After completing the post with the code block inserted the post should successfully save on the block chain.

Actual behavior

Posting a code block containing an img tag with angular property binding shows a message "An image in your post did not save properly

How to reproduce

  • Login to your steemit account
  • Click on the icon to create a post
  • Add the code block contain the image tag and the attributes
  • Add title, the tags and click post.

Note; A sample of the code would have been written here but the post won't be saved on the block chain.
The code block is contained on the image above, you can add just the part with the img tag.

###Device

  1. Lenovo G570
  2. OS: Windows 7
  3. Browser: Google chrome
  4. Version 66.0.3359.139 (Official Build) (64-bit)

Note: The bug have been tested on other browsers and phones.

Recording of bug

Recording that show the bug

bug.gif

Recording without the img tag area

gif2bug.gif

Proof of work

https://github.com/freemanity

Sort:  

Hello, I am afraid that this is not a bug. You need to escape the HTML tag as <img> such as:

<img>


Chat with us on Discord.
[utopian-moderator]Need help? Write a ticket on https://support.utopian.io/.