How can I set 'input' remove from selfClosingInlineTags?
See original GitHub issuesource code:
<input></input>
expect output:
<input></input>
actual output:
<input>
How can I set in config attr?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Are (non-void) self-closing tags valid in HTML5?
In practice, using self-closing tags in HTML should work just like you'd expect. But if you are concerned about writing valid HTML5, you...
Read more >Self Closing Tags in HTML (With Examples) - Tutorials Tonight
In HTML, closing a self closing tag with its closing tag is invalid. For example, closing a <input> tag like <input></input> is not...
Read more >Dataweave - Remove SELF CLOSING XML TAG
Hi. AS we all know we can self close a xml tag using the following syntax - inlineCloseOn = "null" - But for...
Read more ><input>: The Input (Form Input) element - HTML
Since every <input> element, regardless of type, is based on the HTMLInputElement interface, they technically share the exact same set of ...
Read more >Form Tags | Components - BootstrapVue
When the prop remove-on-delete is set, and the user presses Backspace (or Del ) and the input value is empty, the last tag...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can not remove it from there as it is hardcoded.
See https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlminifier.js#L71 https://github.com/kangax/html-minifier/blob/51ce10f4daedb1de483ffbcccecc41be1c873da2/src/htmlparser.js#L71
You can see all options on the right side at http://kangax.github.io/html-minifier/
This is invalid html. If you want to tell html-minifier that it should not touch this part see https://github.com/kangax/html-minifier#ignoring-chunks-of-markup
Also keep in mind that invalid markup will produce issues: https://github.com/kangax/html-minifier#working-with-invalid-markup
Yes ,as in my project ,I have adjust codes ,Line 71 in 51ce10f And then it works fine. thks