* Improve curly and whitespace handling
* Refactoring and clean up
* Collapse elements with non-whitespace children
* Clean selfClosing check in AST compare
selfClosing tags can't be considered when using AST_COMPARE=1.
The new AST may have a Glimmer component that has been collapsed,
ie: <HelloWorld></HelloWorld> -> <HelloWorld />
These result in different ASTs and thereofre we need to clean the
check that compares self-closing in the before and after ASTs
Co-authored-by: Jamie White <jamie@jgwhite.co.uk>
* Add istanbul ignore for ternaries in utilities
* Improve handling around whitespace near elements and block statements
* Update tests after rebasing
* Fix CHANGELOG.unreleased.md after rebase
* Tweak regex around leading and trialing line beraks and update test
Co-authored-by: FabHof <35104465+FabHof@users.noreply.github.com>
* Extract attribute value from concat node