aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tidy-content.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tidy-content.sh b/scripts/tidy-content.sh
index 6dc13c6..14e2edc 100755
--- a/scripts/tidy-content.sh
+++ b/scripts/tidy-content.sh
@@ -27,7 +27,7 @@ INPUT_DIR="${1:-}"
format() {
echo "${1}" >&2
- tidy --quiet yes -utf8 -indent -modify "${1}"
+ tidy --quiet yes -utf8 -indent <(tidy --quiet yes -utf8 -indent "${1}") | sponge "${1}"
}
export -f format