Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I tried quoting my comment in chat. The comment used the [chat] magic comment link. In the quotation, the link text Chemistry Chat became Stack Exchange Api V2 Chat

I tried it with a bunch more magic links on my sandbox. For reference, the source of the comment is as follows:

 [chat]  [ask] [answer] [edit] [faq] [meta-faq] [faq#flagging] []

This is the result. The title-text of the [chat] link is broken, and most of the link targets are borked.

(I can't use [meta] on the formatting sandbox since it's on meta, but here is the result of quoting a comment with meta on it on main)

Looks like chat treats the magic links in the quote as if they're chat magic links, which work differently.

Fix please?

share|improve this question
up vote 3 down vote accepted

This is really a bug in the API, not in chat. The onebox just displays whatever the API returns, and what the API returns is this and this:

{"items": [
    {"body": "<a href=\"\">Stack Exchange Api V2
        Chat</a>  <a href=\"/questions/how-to-ask\">How to Ask</a>
        <a href=\"/questions/how-to-answer\">How to Answer</a> [edit]
        <a href=\"/faq\">faq</a> [meta-faq] <a href=\"/faq#flagging\">faq</a>
        <a href=\"\">Physics</a>"

Fixed in the next API build, after which it will work correctly in chat as well.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .