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

Fixed URL Autolinking

Discussion in 'Resolved Bug Reports' started by nrep, Aug 23, 2013.

  1. nrep

    nrep Well-Known Member

    I've got some members using the [ URL ] tags to post links with their own text, however when they paste in the link part of the BB Code it will autolink the URL and break the tag formatting - resulting in a strange link snippet. For example:

    http://www.xenforo.com]Xenforo[/url]

    If I highlighted and de-linked the URL before posting, then it would work. Without this, it creates the strange output above.

    Is there a fix if a link is pasted in following the [ URL ] tag?
     
  2. Amaury

    Amaury Well-Known Member

    This is how it should look: http://xenforo.com/community/

    Code:
    Code:
    [URL]http://xenforo.com/community/[/URL]
    Do you have any resources installed that deal with URLs?
     
  3. nrep

    nrep Well-Known Member

    This is the format that people are trying to post in:
    Code:
    [URL=http://www.xenforo.com]XenForo[/URL]
    
    Try doing that, but copying/pasting the URL part.
     
  4. AndyB

    AndyB Well-Known Member

    XenForo

    Seams to work fine on this forum.
     
  5. Amaury

    Amaury Well-Known Member

    Seems fine here on my end as well:

    XenForo
     
  6. nrep

    nrep Well-Known Member

    Hmm, thats odd - it doesn't work at my end (IE10, Win8). Tried it in latest FF too.

    When you paste in the "http://www.xenforo.com" part does it not auto link in the editor? If I paste in the full code that I posted above, it works fine - it's just when pasting in the URL part.
     
    Last edited: Aug 24, 2013
  7. Mike

    Mike XenForo Developer Staff Member

    I've sorted this now for 1.2.2. It's also possible to produce in Chrome if you copy a link from the address bar and manually add the URL tags around it.
     
    lazy llama and nrep like this.

Share This Page