Index: Source/WebCore/editing/markup.cpp |
=================================================================== |
--- Source/WebCore/editing/markup.cpp (revision 95747) |
+++ Source/WebCore/editing/markup.cpp (working copy) |
@@ -188,7 +188,7 @@ |
// If we ever hit this ASSERT, we should export StyleChange in ApplyStyleCommand and use it here |
ASSERT(propertyMissingOrEqualToNone(style, CSSPropertyTextDecoration) && propertyMissingOrEqualToNone(style, CSSPropertyWebkitTextDecorationsInEffect)); |
DEFINE_STATIC_LOCAL(const String, divStyle, ("<div style=\"")); |
- DEFINE_STATIC_LOCAL(const String, styleSpanOpen, ("<span style=\"")); |
+ DEFINE_STATIC_LOCAL(const String, styleSpanOpen, ("<span class=\"" AppleStyleSpanClass "\" style=\"")); |
append(out, isBlock ? divStyle : styleSpanOpen); |
appendAttributeValue(out, style->cssText(), document->isHTMLDocument()); |
out.append('\"'); |