mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 08:29:59 +03:00
Remove duplicate <p> tags
* render_markdown returns its content in a <p> tag, so don't need to wrap again.
This commit is contained in:
parent
b0c51d8707
commit
971bca63f7
|
@ -4,7 +4,7 @@
|
|||
<div class="col-md-6 intro-title">
|
||||
<h1>{{ document.title }}</h1>
|
||||
{% if document.description %}
|
||||
<p>{% render_markdown document.description %}</p>
|
||||
{% render_markdown document.description %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-6 intro-code">
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<code>{{ link.url }}</code>
|
||||
</div>
|
||||
|
||||
<p>{% render_markdown link.description %}</p>
|
||||
{% render_markdown link.description %}
|
||||
|
||||
{% if link.fields|with_location:'path' %}
|
||||
<h4>Path Parameters</h4>
|
||||
|
|
Loading…
Reference in New Issue
Block a user