1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed [IMG] Tag lost when pasted into editor

Discussion in 'Resolved Bug Reports' started by Chris D, Jun 12, 2013.

  1. Chris D

    Chris D XenForo Developer Staff Member

    Steps to reproduce:

    [IMG]http://xenforo.com/community/styles/default/xenforo/logo.png[/IMG]

    Copy and paste the above line into an editor window and you will lose the beginning [IMG] tag.

    It only seems to occur with images and seems like the issue can be reproduced in multiple browsers.
     
  2. Teapot

    Teapot Well-Known Member

  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    Seems that pasting [IMG] attempts to convert it to an image, but doesn't pull in the rest of the tag.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Yeah, you're right @King Kovifor

    upload_2013-6-12_21-5-29.png

    That would actually be quite welcomed as a functionality. Would happily see [ IMG tags converted on the fly.
     
    Jeremy likes this.
  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    Neither would I, neither would I. I wanted to confirm a few things before I posted but Firefox's developer tools baffle me. lol. I suspect it has to do with the formatting stripping that is new in 1.2. Nice spot!
     
  6. Mike

    Mike XenForo Developer Staff Member

    Fix to be rolled out soon.
     
    Chris D likes this.
  7. Chris D

    Chris D XenForo Developer Staff Member

    [​IMG]

    Looks good!
     

Share This Page