git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reviewed by Tim H.
[WebKit-https.git]
/
WebCore
/
editing
/
markup.cpp
diff --git
a/WebCore/editing/markup.cpp
b/WebCore/editing/markup.cpp
index b9909eacdb2bc01a0dcc5a39ed834b520c2223b6..3a8e3404d5b2b8d9ad738c41145ebeca9b7afe43 100644
(file)
--- a/
WebCore/editing/markup.cpp
+++ b/
WebCore/editing/markup.cpp
@@
-26,6
+26,7
@@
#include "config.h"
#include "markup.h"
#include "config.h"
#include "markup.h"
+#include "CDATASection.h"
#include "CSSComputedStyleDeclaration.h"
#include "CSSPropertyNames.h"
#include "CSSRule.h"
#include "CSSComputedStyleDeclaration.h"
#include "CSSPropertyNames.h"
#include "CSSRule.h"
@@
-252,8
+253,9
@@
static DeprecatedString startMarkup(const Node *node, const Range *range, EAnnot
return markup;
}
return markup;
}
- case Node::ATTRIBUTE_NODE:
case Node::CDATA_SECTION_NODE:
case Node::CDATA_SECTION_NODE:
+ return static_cast<const CDATASection*>(node)->toString().deprecatedString();
+ case Node::ATTRIBUTE_NODE:
case Node::ENTITY_NODE:
case Node::ENTITY_REFERENCE_NODE:
case Node::NOTATION_NODE:
case Node::ENTITY_NODE:
case Node::ENTITY_REFERENCE_NODE:
case Node::NOTATION_NODE: