Changeset 24412
- Timestamp:
- 07/17/2008 06:47:04 PM (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m
r24071 r24412 152 152 * the same as appendMessage() and appendNextMessage() in Versions 1 and 2 but without scrolling. 153 153 * Version 4: Template.html now includes replaceLastMessage() 154 * Template.html now defines actionMessageUserName and actionMessageBody for display of /me (actions). 155 * If the style provides a custom Template.html, these classes must be defined. 156 * CSS can be used to customize the appearance of actions. 157 * HTML filters in are now supported in Adium's content filter system; filters can assume Version 4 or later. 154 158 */ 155 159 styleVersion = [[styleBundle objectForInfoDictionaryKey:KEY_WEBKIT_VERSION] intValue]; … … 637 641 allowJavascriptURLs:NO]; 638 642 639 htmlEncodedMessage = [[adium contentController] filterHTMLString:htmlEncodedMessage640 direction:[content isOutgoing] ? AIFilterOutgoing : AIFilterIncoming641 content:content];642 643 643 if (styleVersion >= 4) 644 htmlEncodedMessage = [[adium contentController] filterHTMLString:htmlEncodedMessage 645 direction:[content isOutgoing] ? AIFilterOutgoing : AIFilterIncoming 646 content:content]; 647 644 648 //date 645 649 if ([content respondsToSelector:@selector(date)])