Set --show-body-only=true for html-tidy formatter
To facilitate formatting partial templates.
This commit is contained in:
parent
eb69073578
commit
e14bf2f87b
1 changed files with 1 additions and 1 deletions
|
@ -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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue