indentHTML not detecting self-closing img tags
Closed this issue · 1 comments
renatodc commented
The third master-rule should include self-closing img tags. Otherwise it skips an indentation on the tag.
{
langs: "html",
name: "link|br|input|meta|img",
startToken: [/<(link|br|input|meta|img)/i],
endToken: [/>/],
advance: true
},