Permalink
Browse files

<STRIKE> and <S> can be written inline.

  • Loading branch information...
1 parent 2326f83 commit d70ebbd5d11cbe6b6582a439f3d903c3d9a1a687 @mikeabdullah mikeabdullah committed Mar 1, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 KSHTMLWriter.m
View
@@ -414,6 +414,7 @@ - (BOOL)canWriteElementInline:(NSString *)elementName;
if ([elementName isEqualToString:@"a"] ||
[elementName isEqualToString:@"b"] ||
[elementName isEqualToString:@"i"] ||
+ [elementName isEqualToString:@"s"] ||
[elementName isEqualToString:@"u"] ||
[elementName isEqualToString:@"q"]) return YES;
break;
@@ -459,7 +460,8 @@ - (BOOL)canWriteElementInline:(NSString *)elementName;
[elementName isEqualToString:@"button"] ||
[elementName isEqualToString:@"object"] ||
[elementName isEqualToString:@"applet"] ||
- [elementName isEqualToString:@"script"]) return YES;
+ [elementName isEqualToString:@"script"] ||
+ [elementName isEqualToString:@"strike"]) return YES;
break;
case 7:

0 comments on commit d70ebbd

Please sign in to comment.