mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FIX: Missing title
attribute when quoting an image.
This commit is contained in:
@ -166,6 +166,9 @@ QUnit.test("converts img tag", assert => {
|
||||
let html = `<img src="${url}" width="100" height="50">`;
|
||||
assert.equal(toMarkdown(html), ``);
|
||||
|
||||
html = `<img src="${url}" width="100" height="50" title="some title">`;
|
||||
assert.equal(toMarkdown(html), ``);
|
||||
|
||||
html = `<div><span><img src="${url}" alt="description" width="50" height="100" /></span></div>`;
|
||||
assert.equal(toMarkdown(html), ``);
|
||||
|
||||
|
Reference in New Issue
Block a user