25

When using the & sign in a comment, the formatting is not parsed correctly for example,

SO is a Q&A site.

The comment doesn't seem to get formatted as it is supposed to as can be seen in the image below:

If I add a space before the & the comment is formatted as expected, again, as can be seen in the image below:

I've made an example comment in the comments chain. It seems to be specific to the commenting.

Update #1

Please see @TripeHound's comment for the rundown of broken characters.

Update #2

It seems that if you have space before closing format then it will not parse the comment as can be seen here.

12
  • 1
    SO is a ***Q***&A site.
    – Script47
    Commented Sep 18, 2017 at 12:33
  • 1
    **Q**&A *Q*&A ***Q***&A
    – user247702
    Commented Sep 18, 2017 at 12:39
  • 5
    Testing (all star-star-Q-star-star-symbol): Q! Q" Q**£ **Q**$ **Q**% **Q**^ **Q**& **Q**( **Q) Q- Q_ Q**= **Q**+ **Q**[ **Q**{ **Q] Q} Q; Q: Q' Q**@ **Q**# **Q**~ **Q, Q**< **Q. Q**> **Q**/ **Q? **Q**\ **Q**|
    – TripeHound
    Commented Sep 18, 2017 at 14:40
  • 1
    According to Babelmark, normal behavior is for this to work. Perhaps the SO Comment Markdown parser has a weird bug in it related to word boundaries??
    – Waylan
    Commented Sep 18, 2017 at 14:44
  • 6
    Looks like ! " ) - _ ] } ; : ' , . ? work; £ $ % ^ & ( = + [ { @ # ~ < > / \ | don't.
    – TripeHound
    Commented Sep 18, 2017 at 14:46
  • 1
    @TripeHound it would appear your test is inconclusive. Check the source and you'll see this: <b>Q**£ **Q**$ **Q**% **Q**^ **Q**&amp; **Q**( **Q</b> and this: <b>Q**= **Q**+ **Q**[ **Q**{ **Q</b> among others. I'm not convinced each of those breaks individually with that test alone.
    – Waylan
    Commented Sep 18, 2017 at 14:53
  • Just checking one random char: **Q**(
    – Waylan
    Commented Sep 18, 2017 at 14:56
  • @Waylan No, it's not 100% conclusive – I didn't try each character in isolation – but it from a couple of tests, it appears that (a) if it was already broken, you see two asterisks before the Q. (b) If the current character breaks you see two asterisks between the Q and the character (and it leaves it "broken"). (c) If a character works there's nothing between the Q and it (and it leaves it "OK" for the next set).
    – TripeHound
    Commented Sep 18, 2017 at 14:57
  • Zero widths don't fix :(
    – user1228
    Commented Sep 18, 2017 at 18:15
  • If you're going to try and bump a question, don't do it with useless edits, please try to edit in something useful or new in to the question.
    – Tanner
    Commented Sep 20, 2017 at 10:12
  • 1
    @Pang The questions you linked to discuss the main site. Here is a question that discusses bumping questions on Meta specifically. </nitpick> Commented Sep 20, 2017 at 14:24
  • *Space before the asterix. *
    – Script47
    Commented Sep 24, 2017 at 18:03

0

You must log in to answer this question.

Browse other questions tagged .