We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b8ef01 commit 3d5a453Copy full SHA for 3d5a453
test.js
@@ -401,6 +401,12 @@ function describeTestsWithOptions(options, postText) {
401
expected = replaceDelimiters('<ul>\n<li>{#ids} <a href="./link">link</a></li>\n</ul>\n', options);
402
assert.equal(md.render(replaceDelimiters(src, options)), expected);
403
});
404
+
405
+ it(replaceDelimiters('should support empty quoted attrs', options), () => {
406
+ src = '{class="" height="100" width=""}';
407
+ expected = replaceDelimiters('<p><img src="https://example.com/image.jpg" alt="" class="" height="100" width=""></p>\n', options);
408
+ assert.equal(md.render(replaceDelimiters(src, options)), expected);
409
+ });
410
411
}
412
0 commit comments