While commenting on a question, I entered a hyperlink within the comment text box and tried to make it bold using the syntax that I have always seen in the answer text box. One of the scenarios didn't work. Please find the details below.

Section #1: Entered the double asterisk around the link text in the comment text box.

Section #2: The asterisks rendered as part of the comments text without making the text bold.

Section #3: Entered the double asterisk around the link text as well as the URL in the comment text box.

Section #4: Surrounding both the link text and the url worked as I expected it to work.

Section #5: However, in the Answer text box both the above mentioned inputs work correctly.

Is this a bug or is it working by design?

Comment_text_box_link_bold_issue

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

The rules for bold and italic are stricter in comments; this is by design to prevent false positives.

Remember that comments are a stricter subset of markdown, what we call "mini-markdown". See

http://stackoverflow.com/editing-help#comment-formatting

share|improve this answer
add comment

These two have been behaving identically ever since I made this change.

share|improve this answer
add comment

You must log in to answer this question.