summaryrefslogtreecommitdiff
path: root/docs/manual.adoc
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-19 20:55:39 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-10-19 20:55:39 -0700
commita3a9d53860ff3a71b700b7ed135c1722394bf2f9 (patch)
treeccdf5a64a2b979b6693fc7edfd34419422ce8271 /docs/manual.adoc
parent7d2842e6707ca436e03ea022e04ab6879b20670f (diff)
docs: Fix CDATA example
Fixes #61.
Diffstat (limited to 'docs/manual.adoc')
-rw-r--r--docs/manual.adoc2
1 files changed, 1 insertions, 1 deletions
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:
+
----
-<node> <![CDATA[[text1]]> <child/> <![CDATA[[text2]]> </node>
+<node> <![CDATA[text1]]> <child/> <![CDATA[text2]]> </node>
----
+
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.