We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7910fc commit db27291Copy full SHA for db27291
readthedocs/core/templatetags/core_tags.py
@@ -121,6 +121,7 @@ def escapejson(data, indent=None):
121
122
This code was mostly taken from Django's implementation
123
https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#json-script
124
+ https://github.com/django/django/blob/2.2.2/django/utils/html.py#L74-L92
125
126
After upgrading to Django 2.1+, we could replace this with Django's implementation
127
although the inputs and outputs are a bit different.
0 commit comments