diff options
author | EuAndreh <eu@euandre.org> | 2025-03-27 16:50:12 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-27 16:50:12 -0300 |
commit | 0aecad4139e55a3255821a057f5b25ef8eb05b83 (patch) | |
tree | 90f98b7f2e6cec62b10d73a6633209462e0ef976 | |
parent | src/htmlbody: Put "plaintext" role in surrounding div (diff) | |
download | mkwb-0aecad4139e55a3255821a057f5b25ef8eb05b83.tar.gz mkwb-0aecad4139e55a3255821a057f5b25ef8eb05b83.tar.xz |
src/htmlbody: indent as HTML instead of XML
-rwxr-xr-x | src/htmlbody | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmlbody b/src/htmlbody index 6dcab31..d24aa2a 100755 --- a/src/htmlbody +++ b/src/htmlbody @@ -26,7 +26,7 @@ plaintext_links() { indent_4_blocks() { printf '<div><div><div><div>%s</div></div></div></div>' "$(cat -)" | - tidy -quiet -indent -xml | + tidy -quiet -indent --show-body-only yes | head -n -4 | tail -n +5 } |