diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index dc5941e..0d152bb 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -9967,7 +9967,7 @@ table2-mapping
a boolean or NULL, the text representation will be used, escaped and
quoted so that it is legal JSON.
- to_json('Fred said "Hi."'
+ to_json('Fred said "Hi."')
"Fred said \"Hi.\""