Index: Source/core/editing/markup.cpp |
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp |
index a2198a974293076c81200c779182c640c3e28e1f..c1b17648e5ee520ff73b50f00585d06133a1151d 100644 |
--- a/Source/core/editing/markup.cpp |
+++ b/Source/core/editing/markup.cpp |
@@ -186,8 +186,7 @@ void StyledMarkupAccumulator::appendStyleNodeOpenTag(StringBuilder& out, StylePr |
else |
out.appendLiteral("<span style=\""); |
appendAttributeValue(out, style->asText(), document->isHTMLDocument()); |
- out.append('\"'); |
- out.append('>'); |
+ out.appendLiteral("\">"); |
} |
const String& StyledMarkupAccumulator::styleNodeCloseTag(bool isBlock) |
@@ -932,11 +931,11 @@ String createFullMarkup(const Range* range) |
String urlToMarkup(const KURL& url, const String& title) |
{ |
StringBuilder markup; |
- markup.append("<a href=\""); |
+ markup.appendLiteral("<a href=\""); |
markup.append(url.string()); |
- markup.append("\">"); |
+ markup.appendLiteral("\">"); |
MarkupAccumulator::appendCharactersReplacingEntities(markup, title, 0, title.length(), EntityMaskInPCDATA); |
- markup.append("</a>"); |
+ markup.appendLiteral("</a>"); |
return markup.toString(); |
} |