From b2591150a311672e4c408ec9a26c29f47bc694b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 22:43:45 +0100 Subject: [PATCH] More changes to _html --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index 72e2e88..a4de20f 100755 --- a/qsgen2 +++ b/qsgen2 @@ -641,7 +641,8 @@ function _html() { local debug=true if (${debug}) echo "${red}_html: Generating HTML for ${1}${end}" - sed -i -- "s|\#BR|
\n|g" \ + echo ${1} | sed \ + -e "s|\#BR|
\n|g" \ -e "s|\#BD||g" \ -e "s|\#EBD||g" \ -e "s|\#UN||g" \ @@ -679,8 +680,7 @@ function _html() { -e "s|\#EH6|\n|g" \ -e "s|\#LT|\<|g" \ -e "s|\#GT|\>|g" \ - -e "s|\#NUM|\#|g" \ - ${1} + -e "s|\#NUM|\#|g" }