tpl/tplimpl: Add details shortcode

- Add new shortcode to render details HTML element.
- Implement integration tests to check: default state, custom summary, open state,  attribute sanitization, allowed attributes, and localization of default summary text.
- Update docs to include details shortcode.

Closes # 13090
This commit is contained in:
racehd authored and Bjørn Erik Pedersen committed 2024-12-13 09:24:20 +01:00
1 parent 8390a4a3ac
commit f29f19afff
2 files changed
+35

No files matched your search

+1
View File
@@ -25,6 +25,7 @@
# Shortcodes
'comment' = 'shortcodes/comment.html'
'details' = 'shortcodes/details.html'
'figure' = 'shortcodes/figure.html'
'gist' = 'shortcodes/gist.html'
'highlight' = 'shortcodes/highlight.html'