Skip to content

Commit a49f384

Browse files
committed
Fix autoescaping in custom template example
1 parent 375dd08 commit a49f384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/custom/templates/autodoc_custom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h1>
7272
</li>
7373
{% endfor %}
7474
</ul>
75-
<p class="docstring">{{doc.docstring|urlize|nl2br}}</p>
75+
<p class="docstring">{% autoescape false %}{{doc.docstring|urlize|nl2br}}{% endautoescape %}</p>
7676
</div>
7777
{% endfor %}
7878
</body>

0 commit comments

Comments
 (0)