Index: openacs-4/packages/acs-templating/tcl/parse-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/parse-procs.tcl,v diff -u -N -r1.55.2.6 -r1.55.2.7 --- openacs-4/packages/acs-templating/tcl/parse-procs.tcl 21 Apr 2017 16:50:29 -0000 1.55.2.6 +++ openacs-4/packages/acs-templating/tcl/parse-procs.tcl 9 May 2017 20:07:52 -0000 1.55.2.7 @@ -531,7 +531,11 @@ # Since messages may read the variables of the adp page they go trough # expand_percentage_signs which amongst other things does an uplevel subst - while {[regsub -all {([^\\])\#([-a-zA-Z0-9_:\.]+)\#} $code {\1[template::expand_percentage_signs [lang::message::lookup $__ad_conn_locale {\2} {TRANSLATION MISSING} {} -1]]} code]} {} + while {[regsub -all \ + {([^\\])\#([-a-zA-Z0-9_:]+[.][-a-zA-Z0-9_:]+)\#} \ + $code \ + {\1[template::expand_percentage_signs [lang::message::lookup $__ad_conn_locale {\2} {TRANSLATION MISSING} {} -1]]} \ + code]} {} # We do each substitution set in two pieces, separately for normal # variables and for variables with ";noquote" attached to them.