Skip to content

Commit 0465d91

Browse files
authored
Merge pull request #3029 from awtj8o81ryywg793/tidy-up-details-shortcode
Tidy up templates/shortcodes/details.html
2 parents f959a0e + 9e0d795 commit 0465d91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/shortcodes/details.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<details {% if open and open!=false %}open{% endif %}>
2-
<summary>{{ summary | markdown | safe | replace(from="<p>", to="") | replace(from="</p>", to="") | safe}}</summary>
2+
<summary>{{ summary | markdown(inline=true) | safe }}</summary>
33
{{ body | markdown | safe }}
4-
</details>
4+
</details>

0 commit comments

Comments
 (0)