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

How to reproduce (tested on StackOverflow and SuperUser):

  1. Click "Ask question"
  2. Enter text containing one or more numbered links, e.g.

    StackExchange-based websites ([1], [2]) are great, because ...
  3. Put the cursor in the empty line before the links and use the "Insert Image" toolbar button to upload an image from your PC.

Expected result

The image is added as link [3].

Actual result

The pre-existing links are removed:

StackExchange-based websites ([1], [2]) are great, because ...
![enter image description here][1]



This issue does not occur if the links are given a name instead of just a number:

StackExchange-based websites ([StackOverflow][1], [SuperUser][2]) are great, because ...

One could argue that the unnamed variant is an unsupported feature (it's not mentioned in the markdown help page). Still, it's not nice to remove something that the user has written.

share|improve this question

You must log in to answer this question.

Browse other questions tagged .