Index: Source/core/editing/markup.cpp |
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp |
index a152bf4dde0e9d1d12574a6cc6d080ddde8ad2c1..e1cdca63369f0b8b202af89dac1b45ecca333557 100755 |
--- a/Source/core/editing/markup.cpp |
+++ b/Source/core/editing/markup.cpp |
@@ -886,7 +886,7 @@ String createFullMarkup(const Node* node) |
// FIXME: This is never "for interchange". Is that right? |
String markupString = createMarkup(node, IncludeNode, 0); |
Node::NodeType nodeType = node->nodeType(); |
- if (nodeType != Node::DOCUMENT_NODE && nodeType != Node::DOCUMENT_TYPE_NODE) |
+ if (nodeType != Node::DOCUMENT_NODE && !node->isDocumentTypeNode()) |
markupString = frame->documentTypeString() + markupString; |
return markupString; |