Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.h |
| diff --git a/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.h b/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.h |
| index 7eb496516cf989928059c60c57ffa35a4b4bb7a7..374b5bdb5cf382fcab58e045c48f70b41599b51e 100644 |
| --- a/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.h |
| +++ b/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.h |
| @@ -1,5 +1,6 @@ |
| /* |
| - * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| + * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
| + * reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions |
| @@ -51,8 +52,10 @@ enum EntityMask { |
| EntityLineFeed = 0x0040, |
| EntityCarriageReturn = 0x0080, |
| - // Non-breaking space needs to be escaped in innerHTML for compatibility reason. See http://trac.webkit.org/changeset/32879 |
| - // However, we cannot do this in a XML document because it does not have the entity reference defined (See the bug 19215). |
| + // Non-breaking space needs to be escaped in innerHTML for compatibility |
| + // reason. See http://trac.webkit.org/changeset/32879. However, we cannot do |
|
Nico
2016/10/06 03:26:21
nit:s/reason/reasons/
dcheng
2016/10/06 03:59:23
Done.
|
| + // this in a XML document because it does not have the entity reference |
|
Nico
2016/10/06 03:26:21
nit: s/in a/in an/
dcheng
2016/10/06 03:59:23
Done.
|
| + // defined (see the bug 19215). |
|
Nico
2016/10/06 03:26:21
nit: s/the//
dcheng
2016/10/06 03:59:23
Done.
|
| EntityMaskInCDATA = 0, |
| EntityMaskInPCDATA = EntityAmp | EntityLt | EntityGt, |
| EntityMaskInHTMLPCDATA = EntityMaskInPCDATA | EntityNbsp, |