Skip to content

Markdown link to answer revision has incomplete text #2042

@trichoplax

Description

@trichoplax

Describe the bug
The "Copy Link" button on revision N in the edit history of an answer gives a Markdown link with link text "Revision N — " with nothing after the m dash.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the edit history of an answer.
  2. Click on "Copy Link" for one of the revisions.
  3. Look at the "Markdown" field in the pop up dialog box.
  4. See nothing after the m dash.

Expected behavior
What should be the behaviour here? For a top level post such as a question, the post title is displayed after the m dash. Since an answer has no title, should the m dash be omitted, or should the question title be used here? If the question title is used, should there be extra text to avoid confusion with a link to a revision of the question? Should it say "Answer to [title]" rather than just "[title]"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions