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:
Alexey Shpakovsky 2014-03-19 23:05:11 +01:00
parent daf456b956
commit 2291238120

2
bb.sh
View file

@ -496,7 +496,7 @@ create_html_page() {
parse_file() {
# Read for the title and check that the filename is ok
title=""
while IFS='' read line; do
while IFS='' read -r line; do
if [[ "$title" == "" ]]; then
# set title and
# remove extra <p> and </p> added by markdown