Skip to content

Commit db27291

Browse files
committed
Add link to implementation
1 parent d7910fc commit db27291

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readthedocs/core/templatetags/core_tags.py

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def escapejson(data, indent=None):
121121
122122
This code was mostly taken from Django's implementation
123123
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
124125
125126
After upgrading to Django 2.1+, we could replace this with Django's implementation
126127
although the inputs and outputs are a bit different.

0 commit comments

Comments
 (0)