diff --git a/reference/xmlwriter/functions/xmlwriter-text.xml b/reference/xmlwriter/functions/xmlwriter-text.xml index 67f6dc58cb..ee860ac434 100644 --- a/reference/xmlwriter/functions/xmlwriter-text.xml +++ b/reference/xmlwriter/functions/xmlwriter-text.xml @@ -34,6 +34,13 @@ The contents of the text. + The characters <, >, + & and " are written as + entity references (i.e. &lt;, &gt;, + &amp; and &quot;, respectively). + All other characters including ' are written literally. + To write the special XML characters literally, or to write literal entity references, + xmlwriter_write_raw has to be used.