# HG changeset patch # User Zachary West # Date 1257042908 14400 # Node ID 62024fb156851ed68b0dbf9c8a8796081b11ccdb # Parent b0e9a4466823173a9923448d8c420dd059ffde36 Only add color tags if a style supports colors. Fixes #13286. diff -r b0e9a4466823173a9923448d8c420dd059ffde36 -r 62024fb156851ed68b0dbf9c8a8796081b11ccdb 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