adium 2842:62024fb15685: Only add color tags if a style supports...
commits at adium.im
commits at adium.im
Sun Nov 1 02:35:59 UTC 2009
details: http://hg.adium.im/adium/rev/62024fb15685
revision: 2842:62024fb15685
author: Zachary West <zacw at adium.im>
date: Sat Oct 31 22:35:08 2009 -0400
Only add color tags if a style supports colors. Fixes #13286.
diffs (12 lines):
diff -r b0e9a4466823 -r 62024fb15685 Plugins/WebKit Message View/AIWebkitMessageViewStyle.m
--- a/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m Sat Oct 31 19:02:43 2009 -0400
+++ b/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m Sat Oct 31 22:35:08 2009 -0400
@@ -717,7 +717,7 @@
NSString *htmlEncodedMessage = [AIHTMLDecoder encodeHTML:[content message]
headers:NO
fontTags:showIncomingFonts
- includingColorTags:showIncomingColors
+ includingColorTags:(allowsColors && showIncomingColors)
closeFontTags:YES
styleTags:YES
closeStyleTagsOnFontChange:YES
More information about the commits
mailing list