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" }