We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ed7c8 commit 3880ca7Copy full SHA for 3880ca7
src/Templates/default/html/directives/admonition.html.twig
@@ -1,5 +1,5 @@
1
{# icons are from https://heroicons.com/ - MIT License #}
2
-<div class="admonition admonition-{{ name }} {{ class ?? '' }}">
+<div class="admonition admonition-{{ name }} {{ class }}">
3
<p class="admonition-title">
4
{% if name in ['admonition', 'note'] %}
5
<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="24" height="24" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" /></svg>
0 commit comments