X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=pages%2Ftherapy.sh;h=88855151a8fa27ea9b9f03c66694478fba47f043;hp=de8ca8bfb69b1618026d2b53e07b7937c8b1cb31;hb=61666ee9e4ce45e915ead39c575493c075c68845;hpb=23fd7ba3fd151534afdd40f4847d717ecbdb2555 diff --git a/pages/therapy.sh b/pages/therapy.sh index de8ca8b..8885515 100755 --- a/pages/therapy.sh +++ b/pages/therapy.sh @@ -46,11 +46,11 @@ client_name="${n:-${card_FN:-${card_NICK}}}" mpx=() cat "$mpxfile" |while read -r line; do val="${line#*:}" - mpx[${line%%:*}]="${val//\\n/$BR}" + mpx[${line%%:*}]="$(htmlsafe "${val//\\n/$BR}")" done tpy=() cat "$tpyfile" |while read -r line; do val="${line#*:}" - tpy[${line%%:*}]="${val//\\n/$BR}" + tpy[${line%%:*}]="$(htmlsafe "${val//\\n/$BR}")" done