Skip to content
Permalink
Browse files

fix: Fix double code tags

  • Loading branch information
pawamoy committed Jan 3, 2021
1 parent 3ee6bf1 commit e84d401c6dcb9aecb8cc1a58d3a0f339e1c3e78f
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/mkdocstrings/templates/python/material/attribute.html
@@ -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 %}

0 comments on commit e84d401

Please sign in to comment.