diff --git a/docs/manual.adoc b/docs/manual.adoc index 6f101fb..62a3e05 100644 --- a/docs/manual.adoc +++ b/docs/manual.adoc @@ -291,7 +291,7 @@ Here `"node"` element has three children, two of which are PCDATA nodes with val * Character data nodes ([[node_cdata]]`node_cdata`) represent text in XML that is quoted in a special way. CDATA nodes do not differ from PCDATA nodes except in XML representation - the above text example looks like this with CDATA: + ---- - + ---- + CDATA nodes make it easy to include non-escaped `<`, `&` and `>` characters in plain text. CDATA value can not contain the character sequence `]]>`, since it is used to determine the end of node contents. diff --git a/docs/manual.html b/docs/manual.html index 58b2328..5fd7785 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -1055,7 +1055,7 @@ In that example PUGIXML_API is inconsistent between several source

Character data nodes (node_cdata) represent text in XML that is quoted in a special way. CDATA nodes do not differ from PCDATA nodes except in XML representation - the above text example looks like this with CDATA:

-
<node> <![CDATA[[text1]]> <child/> <![CDATA[[text2]]> </node>
+
<node> <![CDATA[text1]]> <child/> <![CDATA[text2]]> </node>
@@ -5588,7 +5588,7 @@ If exceptions are disabled, then in the event of parsing failure the query is in