Index: openacs-4/packages/forums/tcl/messages-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/messages-procs.tcl,v
diff -u -N -r1.58 -r1.59
--- openacs-4/packages/forums/tcl/messages-procs.tcl 12 Jul 2018 09:11:48 -0000 1.58
+++ openacs-4/packages/forums/tcl/messages-procs.tcl 23 Oct 2018 20:18:41 -0000 1.59
@@ -127,6 +127,16 @@
}
append html_version "#forums.Posted#: $message(posting_date)
"
append html_version "\n
\n"
+ #
+ # The resulting HTML messages is sent in total by
+ # notifications::send through [lang::util::localize...]. In case
+ # a forums message contains something looking like a localized
+ # message key, it will be substituted. One rough attempt is to add
+ # a zero width space after the "#" signs to make the regular
+ # expression searching for the message keys fail....
+ #
+ regsub -all "#" $message_html "#\\" message_html
+
append html_version $message_html
append html_version "
"