Use Perl to add to BODY in _blogs
This commit is contained in:
parent
804988108a
commit
91ef634b66
4
qsgen2
4
qsgen2
@ -445,7 +445,9 @@ function _blogs() {
|
||||
blog_content="${blog_content//CALYEAR/${sdate[2]}}"
|
||||
blog_content="${blog_content//BLOGURL/${blog_url}}"
|
||||
blog_content="${blog_content//INGRESS/${ingress}}"
|
||||
blog_content="${blog_content//BODY/${body}}"
|
||||
# Replace BODY placeholder with actual content using Perl
|
||||
blog_content=$(echo "${blog_content}" | perl -pe "s|\QBODY\E|${body}|g")
|
||||
|
||||
|
||||
# Apply transformations
|
||||
blog_content="$(_html "${blog_content}")"
|
||||
|
Loading…
Reference in New Issue
Block a user