autoclose-html icon indicating copy to clipboard operation
autoclose-html copied to clipboard

Autoclose closes "never-close" tags [Issue when loading configs]

Open Vbbab opened this issue 3 years ago • 3 comments

Certain tags, like <input />, do not have a closing tag, but autoclose-html closes them anyway (despite them being configured as never-close tags!), in the improper format:

Instead of closing like <input /> or even just leaving the tag be, it closes the tag like <input></input> Which browsers can generally autocorrect, but is probably not best practice...

Vbbab avatar Nov 03 '20 03:11 Vbbab

And yes, <input> is configured as a never-close tag.

Vbbab avatar Nov 03 '20 03:11 Vbbab

Determined this to be a config loading issue, with atom.config.observe. Gonna try to fix.

Vbbab avatar Nov 04 '20 03:11 Vbbab

Seems to be an Atom bug? Submitted Issue #21642 on Atom.

Vbbab avatar Nov 04 '20 03:11 Vbbab