htmlbeautifier icon indicating copy to clipboard operation
htmlbeautifier copied to clipboard

Allow generic self-closing blocks

Open StephenHogsten opened this issue 4 years ago • 1 comments

Right not it looks like all the possible elements that can be self-closed without adding an indentation level are hard-coded. Which means if you have some sort of custom element (e.g. later replaced by vue) that is self-closed, it will break the indentation formatting

StephenHogsten avatar May 26 '20 22:05 StephenHogsten

This probably needs to be available as a command line option with the ability to load defaults from a configuration file. I'd be open to a PR!

threedaymonk avatar Nov 26 '21 00:11 threedaymonk