ejyothi / MantisBT-MarkDownEditor

A MantisBT plugin to enable MarkDown Editor for text fields
5 stars 1 forks source link

Inline images not parsed correctly #18

Open pkbarbiedoll opened 2 months ago

pkbarbiedoll commented 2 months ago

Using the image insert icon in MantisBT-MarkDownEditor, I enter my image location (valid, it opens just fine in a browser)

This results in markdown:

![my image](https://example.com/images/documentation/oY2TD.jpg "my image")

The underlying HTML code shows as

<p>![enter image description here](<a href="https://example.com/images/documentation/oY2TD.jpg" rel="noopener">https://example.com/images/documentation/oY2TD.jpg</a> "enter image title here")</p>

1) note entry form 1

2) click image button 2

3) paste image url 3

4) before note submit: 4

5) note after submitting 5

6) editing previously submitted note 6