summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_serializer.cc
diff options
context:
space:
mode:
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++;