Set --show-body-only=true for html-tidy formatter

To facilitate formatting partial templates.
This commit is contained in:
Henrik Lissner 2020-02-27 21:54:18 -05:00
parent eb69073578
commit e14bf2f87b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -28,7 +28,7 @@
'("tidy" "-q" "-indent"
"--tidy-mark" "no"
"--drop-empty-elements" "no"
"--show-body-only" "auto" ; don't inject html/body tags
"--show-body-only" "true" ; don't inject html/body tags
("--indent-spaces" "%d" tab-width)
("--indent-with-tabs" "%s" (if indent-tabs-mode "yes" "no"))
("-xml" (memq major-mode '(nxml-mode xml-mode))))