From 44c6bb7b8ec4260a59409474803f8b577c0711cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 08:48:12 +0100 Subject: [PATCH] More debugging --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index fd42f71..4fb0939 100755 --- a/qsgen2 +++ b/qsgen2 @@ -338,10 +338,10 @@ function _pages() { # Insert page_content into pages_tpl by replacing the BODY tag present there if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl" - pages_tpl=$( echo ${pages_tpl} | sed -e "s/BODY/${page_content}/g" ) + pages_tpl=$( echo ${pages_tpl} | sed -e "s|BODY|${page_content}|g" ) - echo ${pages_tpl} - exit + #echo ${pages_tpl} + #exit # HTML'ify the page content if (${debug}) echo "_pages: Running engine on ${pages_in_array}"