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

As Designed Smilies in url text

Discussion in 'Resolved Bug Reports' started by Razasharp, Feb 11, 2014.

  1. Razasharp

    Razasharp Well-Known Member

    Not sure if this is a bug or working as intended, but if you have a smilie for :/ when posting urls you get a smiley in the link text, eg:


    I've changed the smilie here to : ) from :/

    Would it be better to strip or disable smilies in link text?
    caoanh204, D.O.A. and Luis like this.
  2. caoanh204

    caoanh204 Active Member

  3. Razasharp

    Razasharp Well-Known Member

    Hi Caoanh, I think your problem is slightly different - I am only referring to smilies within link text, mainly because a lot of people use :/ as a smilie and it is always present in a URL. Also, URL's are beyond the control of the user - and you never know what may be present in one.

    I think most people quickly learn about smilies in normal text tho, particualry since that's how forums have always worked. The only one that really poses a problem is 8) which is also fairly common smiley. (but can be replaced with 8 ) i.e. an additional space)
    Last edited: Feb 12, 2014
  4. caoanh204

    caoanh204 Active Member

    Yes, I understand. On facebook, smilies replace exactly, including spaces, too.
    Razasharp likes this.
  5. D.O.A.

    D.O.A. Well-Known Member

    easy solution is don't use :/ use for smilie, I guess that's why they use two :colon: for text replacement on default smilie. Members can deal with it, :/: is not going to kill them to learn.
  6. Divvens

    Divvens Well-Known Member

    That is not a solution, :/ or :\ is used by many. Nothing that makes it more "harder" or changes what users are used for is ever a "easy" solution.

    It's plain and simple, smilies/emoticons shouldn't be parsed in URL's.
    Amaury likes this.
  7. D.O.A.

    D.O.A. Well-Known Member

    It is a solution, you just wont use it for the sake of convenience. It's one smilie.
    Last edited: Feb 14, 2014
  8. Divvens

    Divvens Well-Known Member

    It is not a solution, it is a workaround.

    If eating food (in general) causes problems to you, would you say stop eating food or go to the doctor and try to find out whats wrong and get healthy? Not eating food will be a workaround, while finding the problem and getting healthy will be a solution.
  9. Mike

    Mike XenForo Developer Staff Member

    This is already done. Have a look at this example:


    What's the difference? The first one is the "simple" URL case -- that is, the printable text is the URL. The second one is the advanced case, which is linking arbitrary text, meaning full formatting is available. If you look closely, the example in the first post is the advanced case:
    (The attempt to demonstrate the issue mad the URL invalid, presumably.)

Share This Page