Index: third_party/WebKit/Source/core/editing/serializers/HTMLInterchange.cpp |
diff --git a/third_party/WebKit/Source/core/editing/serializers/HTMLInterchange.cpp b/third_party/WebKit/Source/core/editing/serializers/HTMLInterchange.cpp |
index 9cddb8886d8c240785c32eee34c6c3db916a7afd..34d9a48581fa2585cc68908585cbcd07fb533326 100644 |
--- a/third_party/WebKit/Source/core/editing/serializers/HTMLInterchange.cpp |
+++ b/third_party/WebKit/Source/core/editing/serializers/HTMLInterchange.cpp |
@@ -60,28 +60,28 @@ |
unsigned add = count % 3; |
switch (add) { |
case 0: |
- s.append(convertedSpaceString); |
+ s.appendLiteral(convertedSpaceString); |
s.append(' '); |
- s.append(convertedSpaceString); |
+ s.appendLiteral(convertedSpaceString); |
add = 3; |
break; |
case 1: |
if (i == 0 || i + 1 == in.length()) // at start or end of string |
- s.append(convertedSpaceString); |
+ s.appendLiteral(convertedSpaceString); |
else |
s.append(' '); |
break; |
case 2: |
if (i == 0) { |
// at start of string |
- s.append(convertedSpaceString); |
+ s.appendLiteral(convertedSpaceString); |
s.append(' '); |
} else if (i + 2 == in.length()) { |
// at end of string |
- s.append(convertedSpaceString); |
- s.append(convertedSpaceString); |
+ s.appendLiteral(convertedSpaceString); |
+ s.appendLiteral(convertedSpaceString); |
} else { |
- s.append(convertedSpaceString); |
+ s.appendLiteral(convertedSpaceString); |
s.append(' '); |
} |
break; |