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:
David Smith 2020-07-14 19:04:18 +01:00
parent b0c51d8707
commit 971bca63f7
2 changed files with 2 additions and 2 deletions

View File

@ -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> {% render_markdown document.description %}
{% endif %} {% endif %}
</div> </div>
<div class="col-md-6 intro-code"> <div class="col-md-6 intro-code">

View File

@ -29,7 +29,7 @@
<code>{{ link.url }}</code> <code>{{ link.url }}</code>
</div> </div>
<p>{% render_markdown link.description %}</p> {% render_markdown link.description %}
{% if link.fields|with_location:'path' %} {% if link.fields|with_location:'path' %}
<h4>Path Parameters</h4> <h4>Path Parameters</h4>