Feng Forum

Support => Older versions => : brg April 22, 2010, 07:37:22 AM

: [1.7 beta 2] HTML tags in email subjects
: brg April 22, 2010, 07:37:22 AM
In application/models/notifier/Notifier.class.php file in 125 row:
:
"subject" => $subject = lang("$notification notification $type", $name, $uid, $typename, $ws),
but before:
:
$css = get_workspace_css_properties($w->getColor());
$ws .= "<span style=\"$css\">" . $w->getPath() . "</span>";
After this in "$ws" we have html tags, it is ok for "$properties['workspace'] = $ws;", but not for subjects!

Simple solution:
:
"subject" => $subject = lang("$notification notification $type", $name, $uid, $typename, html_to_text($ws)),
: Re: [1.7 beta 2] HTML tags in email subjects
: ignacio April 28, 2010, 08:51:35 AM
Thanks. Fixed for next version.