preserve backslashes when posting/editing
ask "read" not to process backslash sequences when reading user-edited file and leave them as is, instead
This commit is contained in:
parent
daf456b956
commit
2291238120
2
bb.sh
2
bb.sh
|
@ -496,7 +496,7 @@ create_html_page() {
|
||||||
parse_file() {
|
parse_file() {
|
||||||
# Read for the title and check that the filename is ok
|
# Read for the title and check that the filename is ok
|
||||||
title=""
|
title=""
|
||||||
while IFS='' read line; do
|
while IFS='' read -r line; do
|
||||||
if [[ "$title" == "" ]]; then
|
if [[ "$title" == "" ]]; then
|
||||||
# set title and
|
# set title and
|
||||||
# remove extra <p> and </p> added by markdown
|
# remove extra <p> and </p> added by markdown
|
||||||
|
|
Loading…
Reference in New Issue
Block a user