From d8532bb35a04629e20a61a36b8ad4d91aedc2ce1 Mon Sep 17 00:00:00 2001 From: Ethan P Date: Sat, 21 Aug 2021 16:03:05 -0700 Subject: [PATCH] mdroff: Remove
from output --- mdroff.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mdroff.sh b/mdroff.sh index bee57a4..537a9d4 100755 --- a/mdroff.sh +++ b/mdroff.sh @@ -117,6 +117,11 @@ mdroff:emit:table_row() { mdroff:emit:text() { local text="$1" + + text="${text//
/ }" + text="${text/// }" + text="${text//
/ }" + printf "%s" "$text" }