diff --git a/packages/typo3-docs-theme/resources/template/body/admonition.html.twig b/packages/typo3-docs-theme/resources/template/body/admonition.html.twig index 262bb19b4..a87494e4b 100644 --- a/packages/typo3-docs-theme/resources/template/body/admonition.html.twig +++ b/packages/typo3-docs-theme/resources/template/body/admonition.html.twig @@ -24,8 +24,5 @@ {% if titleOfSeverity %}
{{ titleOfSeverity }}
{% elseif title and isTitled %}{{ renderNode(title) }}
{% endif %} - {% if title and not isTitled %}{{ renderNode(title) }}
- {% endif %} {{ renderNode(node) }} - diff --git a/tests/Integration/tests/admonitions/expected/index.html b/tests/Integration/tests/admonitions/expected/index.html index f290c6f0c..0779cc284 100644 --- a/tests/Integration/tests/admonitions/expected/index.html +++ b/tests/Integration/tests/admonitions/expected/index.html @@ -47,7 +47,6 @@Hint
-One line hint
diff --git a/tests/Integration/tests/markdown/md-admonitions/expected/README.html b/tests/Integration/tests/markdown/md-admonitions/expected/README.html new file mode 100644 index 000000000..22aee3b3c --- /dev/null +++ b/tests/Integration/tests/markdown/md-admonitions/expected/README.html @@ -0,0 +1,11 @@ + + +Note
+ Image and screenshot files should be placed withinImages/MyGuidesFileName/
where MyGuidesFileName
is your guide's filename without the final .md
.
+