X-Git-Url: https://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=cgilite.sh;fp=cgilite.sh;h=2193e29ff90069b181db9475c439c89f34e5f529;hp=b47a3e2e683219b773af4383059a6701f2d44d46;hb=5038774f89b33ecd03e407898e9d57d38245b5bb;hpb=e02243e96d7cc400b63c3e856d0e80d4140c6805 diff --git a/cgilite.sh b/cgilite.sh index b47a3e2..2193e29 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -294,7 +294,7 @@ HTML(){ \]*) out="${out}]"; str="${str#?}";; "${CR}"*) out="${out} "; str="${str#?}";; "${BR}"*) out="${out} "; str="${str#?}";; - *) out="${out}${str%%[]&<>\"\'[]*}"; str="${str#"${str%%[]&<>\"\'[]*}"}";; + *) out="${out}${str%%[]&<>\"\'${CR}${BR}[]*}"; str="${str#"${str%%[]&<>\"\'${CR}${BR}[]*}"}";; esac; done printf %s "$out" }