_pages: Debug sed
This commit is contained in:
parent
3aac2ea8a7
commit
82074d1452
2
qsgen2
2
qsgen2
@ -448,7 +448,7 @@ function _pages() {
|
|||||||
# Insert page_content into pages_tpl by replacing the BODY tag present there
|
# Insert page_content into pages_tpl by replacing the BODY tag present there
|
||||||
if (${debug}) _msg debug "_pages: Replacing BODY with page_content in pages_tpl using Perl"
|
if (${debug}) _msg debug "_pages: Replacing BODY with page_content in pages_tpl using Perl"
|
||||||
# Use Perl for multi-line and special character handling
|
# Use Perl for multi-line and special character handling
|
||||||
local pages_tpl=$( echo "${pages_tpl}" | sed --debug -e "s|BODY|${page_content}|" )
|
local pages_tpl=$( echo "${pages_tpl}" | sed --debug -e "sÅBODYÅ${page_content}Å" )
|
||||||
|
|
||||||
# Replace every #pagetitle in pages_tpl
|
# Replace every #pagetitle in pages_tpl
|
||||||
if (${debug}) _msg debug "_pages: Replacing #pagetitle in pages_tpl"
|
if (${debug}) _msg debug "_pages: Replacing #pagetitle in pages_tpl"
|
||||||
|
Loading…
Reference in New Issue
Block a user