summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_serializer.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 21:51:05 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 21:51:05 +0000
commit32638bfc967b411572c425840422e432a640c25a (patch)
tree4fe996f4c5bca35050c55263d0ab61dc2b7da3a6 /webkit/glue/dom_serializer.cc
parent1c4446962c60801c4ab86b5592fc13653a3293ae (diff)
downloadchromium_src-32638bfc967b411572c425840422e432a640c25a.zip
chromium_src-32638bfc967b411572c425840422e432a640c25a.tar.gz
chromium_src-32638bfc967b411572c425840422e432a640c25a.tar.bz2
Fix test_shell_test failure. I had missed the fact that the generated entity code file already had "&" and ";".
Review URL: http://codereview.chromium.org/10654 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_serializer.cc')
-rw-r--r--webkit/glue/dom_serializer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/dom_serializer.cc b/webkit/glue/dom_serializer.cc
index ca2c775..e71d8f4 100644
--- a/webkit/glue/dom_serializer.cc
+++ b/webkit/glue/dom_serializer.cc
@@ -126,7 +126,9 @@ void ConvertCorrespondingSymbolToEntity(WebCore::String* result,
// Append content before entity code.
if (cur_pos > start_pos)
result->append(start_pos, cur_pos - start_pos);
+ result->append("&");
result->append(entity_name);
+ result->append(";");
start_pos = ++cur_pos;
} else {
cur_pos++;