[interchange] Ensure proper encoding for HTML data in [email] usertag.
Stefan Hornburg
interchange-cvs at icdevgroup.org
Tue Oct 26 13:11:48 UTC 2010
commit 21710e22ec5ebe6f81d8bbc9a9969b00d34de4b9
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Tue Oct 26 15:10:22 2010 +0200
Ensure proper encoding for HTML data in [email] usertag.
code/UserTag/email.tag | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/code/UserTag/email.tag b/code/UserTag/email.tag
index 7beff84..97b3e9a 100644
--- a/code/UserTag/email.tag
+++ b/code/UserTag/email.tag
@@ -152,7 +152,7 @@ sub {
if($opt->{html}) {
unshift @$att, {type => 'text/html'
.($utf8 ? '; charset=UTF-8': ''),
- data => $opt->{html},
+ data => ($utf8 ? utf8_to_other($opt->{html}, 'UTF-8') : $opt->{html}),
disposition => 'inline',
};
}
More information about the interchange-cvs
mailing list