summaryrefslogtreecommitdiffstats
path: root/webkit/data/dom_serializer
diff options
context:
space:
mode:
authorojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 21:20:14 +0000
committerojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 21:20:14 +0000
commitc51ec376738f7f8748ffefffd2a4db3403220c8c (patch)
tree696aa47717af8d62aba38f9cbc363a6ebf8867d2 /webkit/data/dom_serializer
parent4f64fcb3f77629b46a48022a913a3678ed113de7 (diff)
downloadchromium_src-c51ec376738f7f8748ffefffd2a4db3403220c8c.zip
chromium_src-c51ec376738f7f8748ffefffd2a4db3403220c8c.tar.gz
chromium_src-c51ec376738f7f8748ffefffd2a4db3403220c8c.tar.bz2
Committing for tkent@google.com.
Don't use &percnt;, &nsup; and &supl; in serialization. The HTML standards don't define them, and IE and Firefox don't support them. BUG=6035 TEST=Load an HTML document with an attribute includes % and ' save the document as "Web Page, Complete", look at the saved file and confirm that - % is saved as is. - ' is saved as '&#39;' git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data/dom_serializer')
-rw-r--r--webkit/data/dom_serializer/nonstandard_htmlentities.htm1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/data/dom_serializer/nonstandard_htmlentities.htm b/webkit/data/dom_serializer/nonstandard_htmlentities.htm
new file mode 100644
index 0000000..824f251
--- /dev/null
+++ b/webkit/data/dom_serializer/nonstandard_htmlentities.htm
@@ -0,0 +1 @@
+<HTML><BODY title="&percnt;&nsup;&supl;&apos;">&percnt;&nsup;&supl;&apos;</BODY></HTML>