mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-11-27 06:30:32 +00:00
e60611044b
1.9.x added better support for templating and turned it on for Javascript by default. This caused formatting problems for code bases that included template markers inside strings. This change adds a templating option to control which languages are recognized. This setting defaults to "auto". For JavaScript "auto" means no templating languages, for HTML (and embedded script), "auto" means all of them. This basically preserves the existing behavior before 1.9.x. Fixes #1647 |
||
---|---|---|
.. | ||
defaults.json |