6

I have added a comment to https://meta.stackexchange.com/questions/119092/allow-edit-retag-suggestions-for-area-51-meta, and I noticed that my comment contains a semicolon.

screenshot

I thought I added it by mistake, but the edit form doesn't show any semicolon.

screenshot

From where does the semicolon come? It is not automatically added, as the other comments don't have it, and the dash character is already added at the end of the comment, and before the username of who posted the comment.

screenshot

10
  • It looks like any link followed by a character that needs to be escaped causes it. E.g. google.com< google.com/& Jan 14, 2012 at 21:23
  • The question could be then understood as, "Is that semicolon automatically added?"
    – apaderno
    Jan 14, 2012 at 21:24
  • It doesn't seem the case in my comment, though. At least, I don't remember that a period after the URL needs to be escaped.
    – apaderno
    Jan 14, 2012 at 21:27
  • 1
    Let's try with "This is an easy URL to remember: ersggreaasdewryprprt.com."
    – apaderno
    Jan 14, 2012 at 21:29
  • Uhmmm… The semicolon is added because there is a period after the URL. I guess @MichaelMrozek is right about escaping a character.
    – apaderno
    Jan 14, 2012 at 21:31
  • Should this be considered a bug report? After all, it is not what it is supposed to happen.
    – apaderno
    Jan 14, 2012 at 21:34
  • 2
    I don't think the period matters; it was added because you ended with a double quote (which gets rewritten as &quot;). And yes, it's a bug Jan 14, 2012 at 21:37
  • I'm 99% certain there's a duplicate of this somewhere on meta.
    – Adam Lear StaffMod
    Jan 14, 2012 at 21:38
  • Interestingly, chat's client-side Markdown mini parser + auto-linker will handle this case correctly, but the server will then send back the mangled result.
    – Tim Stone
    Jan 14, 2012 at 21:44
  • 1
    Also to note, if comments supported the <url> syntax it would be possible to manually avoid this scenario, at least.
    – Tim Stone
    Jan 14, 2012 at 22:15

0

Browse other questions tagged .