diff --git a/internal/globals.sh b/internal/globals.sh index 1c9532e..7a608ce 100644 --- a/internal/globals.sh +++ b/internal/globals.sh @@ -503,7 +503,7 @@ function post_markdown { cat "${TMP2}" > "${TMP1}" else HEADINGS=( ) - while read LINE + while IFS= read -r LINE do if [[ "$(echo "${LINE}" | grep "^.*" )" == "" ]] then