Open SonOfHans opened 5 years ago
You are using the default HTML beautifier, JS Beautify. Switch to Pretty Diff and the issue is resolved.
Thanks for the input. Though it's true that Pretty Diff doesn't have this particular issue, it actually has its own bug that outright breaks some of my pages and therefore makes it not a viable option for use with Handlebars.
Description
Opening a partial block causes the beautifier to indent once (which is correct), but closing the block never unindents, which causes the remainder of the code to have extra indentation.
Input Before Beautification
This is what the code looked like before:
Expected Output
The beautified code should have looked the same.
Actual Output
The beautified code actually looked like this:
Steps to Reproduce
Atom Beautify: Beautify Editor
Debug
Here is a link to the
debug.md
Gist: https://gist.github.com/SonOfHans/42ae1754eb33807114f15690cc434461Checklist
I have:
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issue