Skip to content

Commit d064ff3

Browse files
docs: fix CDATA syntax mistake in markup example
CDATA is used as ``<![CDATA[...]]>` not as `<CDATA[[...]]>`. The docs used the wrong one.
1 parent 5a1eb25 commit d064ff3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/markup.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ or use a [processing instruction](./processing-instructions.md):
9595
Or you can use an XML CDATA tag:
9696

9797
```XML
98-
<text><CDATA[[
99-
**This text will NOT be bold**
100-
]]></text>
98+
<text><![CDATA[**This text will NOT be bold**]]></text>
10199
```
102100

103101
A CDATA tag Does not modify the text in any way what so ever. It preserves even whitespace if that is important to you.

0 commit comments

Comments
 (0)