mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
added autoescape off tags document description
This commit is contained in:
parent
65c8570df4
commit
5bc180f75c
|
@ -4,7 +4,7 @@
|
||||||
<div class="col-md-6 intro-title">
|
<div class="col-md-6 intro-title">
|
||||||
<h1>{{ document.title }}</h1>
|
<h1>{{ document.title }}</h1>
|
||||||
{% if document.description %}
|
{% if document.description %}
|
||||||
<p>{% render_markdown document.description %}</p>
|
<p>{% autoescape off %}{% render_markdown document.description %}{% endautoescape %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 intro-code">
|
<div class="col-md-6 intro-code">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user