From 15358714547804abb9227570a03c8fb3c4e801ec Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 9 Jul 2026 12:24:20 +0200 Subject: fix: newline before closing fence in nvchecker stanza echo The body branch used printf '%s' (no trailing newline) so the closing fence glued onto the last body line. Use printf '%s\n'. Regression test T16 asserts the fence sits on its own line. Co-Authored-By: Claude Opus 4.8 --- mkhint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkhint') diff --git a/mkhint b/mkhint index 5bb3a69..1d7c86d 100755 --- a/mkhint +++ b/mkhint @@ -1041,7 +1041,7 @@ EOF echo "────────────────────────────" printf '%s\n' "$label" if [[ -n "$body" ]]; then - printf '%s' "$body" + printf '%s\n' "$body" else echo "# TODO: configure nvchecker source for \"${pkg}\"" fi -- cgit v1.2.3