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

Not a Bug Embedded image alt attribute set to "[​IMG]"

Discussion in 'Resolved Bug Reports' started by DeltaHF, May 17, 2014.

  1. DeltaHF

    DeltaHF Well-Known Member

    When embedding an image into a post, the "alt" attribute in the resulting HTML is set to "[​IMG]". This can be replicated here on xenforo.com. For example:

    [​IMG]

    Results in the following HTML when the page source is viewed:

    HTML:
    <img src="proxy.php?image=http%3A%2F%2Fwww.gtpla.net%2Fwp-content%2Fuploads%2F2014%2F05%2Fbmwvgt_002-638x358.jpg&amp;hash=a5c6ad330e97bcb8c4bac900e9c402b2" class="bbCodeImage LbImage" alt="[&#x200B;IMG]" data-url="http://www.gtpla.net/wp-content/uploads/2014/05/bmwvgt_002-638x358.jpg" />
     
  2. Mike

    Mike XenForo Developer Staff Member

    Yes, this is totally expected. What issue are you seeing with this?
     
  3. DeltaHF

    DeltaHF Well-Known Member

    No issue - I just noticed it and thought it might be a (very minor) bug or character encoding issue.
     

Share This Page