diff --git a/qsgen2 b/qsgen2 index d4f0a31..19362d4 100755 --- a/qsgen2 +++ b/qsgen2 @@ -643,45 +643,46 @@ function _html() { local debug=true if (${debug}) echo "${red}_html: Generating HTML for ${1}${end}" - sed -i -- "s|\#BR|
\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#BD||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EBD||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#UN||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EUN|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#P|

\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EP|

\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#Q|
|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EQ|
|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#STRONG||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#ESTRONG||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#I||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EI||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#C|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EC|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EM||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#SEM||g" ${www_root}/${1%.*}.html - sed -i -- "s|\#OT|\"|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#UL|\n\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EOL|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#H1|

|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#H2|

|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#H3|

|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#H4|

|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#H5|

|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#H6|
|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EH1|
\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EH2|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EH3|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EH4|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EH5|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#EH6|\n|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#LT|\<|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#GT|\>|g" ${www_root}/${1%.*}.html - sed -i -- "s|\#NUM|\#|g" ${www_root}/${1%.*}.html + sed -i -- "s|\#BR|
\n|g" \ + -i -- "s|\#BD||g" \ + -i -- "s|\#EBD||g" \ + -i -- "s|\#UN||g" \ + -i -- "s|\#EUN|\n|g" \ + -i -- "s|\#P|

\n|g" \ + -i -- "s|\#EP|

\n|g" \ + -i -- "s|\#Q|
|g" \ + -i -- "s|\#EQ|
|g" \ + -i -- "s|\#STRONG||g" \ + -i -- "s|\#ESTRONG||g" \ + -i -- "s|\#I||g" \ + -i -- "s|\#EI||g" \ + -i -- "s|\#C|\n|g" \ + -i -- "s|\#EC|\n|g" \ + -i -- "s|\#EM||g" \ + -i -- "s|\#SEM||g" \ + -i -- "s|\#OT|\"|g" \ + -i -- "s|\#UL|\n\n|g" \ + -i -- "s|\#EOL|\n|g" \ + -i -- "s|\#H1|

|g" \ + -i -- "s|\#H2|

|g" \ + -i -- "s|\#H3|

|g" \ + -i -- "s|\#H4|

|g" \ + -i -- "s|\#H5|

|g" \ + -i -- "s|\#H6|
|g" \ + -i -- "s|\#EH1|
\n|g" \ + -i -- "s|\#EH2|\n|g" \ + -i -- "s|\#EH3|\n|g" \ + -i -- "s|\#EH4|\n|g" \ + -i -- "s|\#EH5|\n|g" \ + -i -- "s|\#EH6|\n|g" \ + -i -- "s|\#LT|\<|g" \ + -i -- "s|\#GT|\>|g" \ + -i -- "s|\#NUM|\#|g" \ + ${1} }