Fixed [IMG] Tag lost when pasted into editor

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.
 

Jeremy

Well-known member
Seems that pasting [IMG] attempts to convert it to an image, but doesn't pull in the rest of the tag.
 

Jeremy

Well-known 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!
 
Top