]> git.plutz.net Git - confetti/commitdiff
last commit message was wrong, improved prescription overview in therapy
authorpaul <paul@plutz.net>
Fri, 15 Apr 2016 11:10:21 +0000 (11:10 +0000)
committerpaul <paul@plutz.net>
Fri, 15 Apr 2016 11:10:21 +0000 (11:10 +0000)
svn path=/trunk/; revision=102

pages/therapy.sh

index de8ca8bfb69b1618026d2b53e07b7937c8b1cb31..88855151a8fa27ea9b9f03c66694478fba47f043 100755 (executable)
@@ -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