diff options
-rw-r--r-- | index.rst | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -767,6 +767,11 @@ Encoders and decoders Subclass of :class:`JSONEncoder` that escapes &, <, and > for embedding in HTML. + It also escapes the line separator and paragraph separator + characters U+2028 and U+2029, irrespective of the ensure_ascii setting, + as these characters are not valid in Javascript strings (see + http://timelessrepo.com/json-isnt-a-javascript-subset). + .. versionchanged:: 2.1.0 New in 2.1.0 |