From abf4821fe23d26458dbeccc650f721d3e3a6bc46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Thu, 1 Feb 2024 10:29:47 +0100 Subject: [PATCH] _html: More HTML formatting using newlines --- qsgen2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qsgen2 b/qsgen2 index 2e02b8e..b27fef6 100755 --- a/qsgen2 +++ b/qsgen2 @@ -808,7 +808,7 @@ function _html() { # Perform HTML tag substitutions handling both lowercase and uppercase QStags local html_content=$( echo "${content}" | sed \ - -e "s|#[bB][rR]|
|g" \ + -e "s|#[bB][rR]|
\n|g" \ -e "s|#[bB]||g" \ -e "s|#[eE][bB]|\n|g" \ -e "s|#[iI]||g" \ @@ -835,11 +835,11 @@ function _html() { -e "s|#[eE][dD][iI][vV]|\n|g" \ -e "s|#[sS][pP][aA][nN]||g" \ -e "s|#[eE][sS][pP][aA][nN]|\n|g" \ - -e "s|#[uU][lL]|\n|g" \ - -e "s|#[eE][oO][lL]|\n|g" \ + -e "s|#[uU][lL]|\n\n|g" \ + -e "s|#[eE][oO][lL]|\n\n|g" \ -e "s|#[eE][lL][iI]|\n|g" \ -e "s|#[uU]||g" \ -e "s|#[eE][uU]||g" \