Skip to content

Commit

Permalink
fix: Fix double code tags
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Jan 3, 2021
1 parent 3ee6bf1 commit e84d401
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mkdocstrings/templates/python/material/attribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
class="doc doc-heading"
data-toc-label="{{ attribute.name }}">

<code class="highlight">
{% filter highlight(language="python", inline=True) %}
{% if show_full_path %}{{ attribute.path }}{% else %}{{ attribute.name }}{% endif %}
{% if attribute.type %}: {{ attribute.type|highlight(language="python", inline=True)|safe }}{% endif %}
</code>
{% if attribute.type %}: {{ attribute.type }}{% endif %}
{% endfilter %}

{% with properties = attribute.properties %}
{% include "properties.html" with context %}
Expand Down

0 comments on commit e84d401

Please sign in to comment.