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
2024-12-01 10:30:34 -05:00
committed by Bjørn Erik Pedersen
parent 9dfa112617
commit 4f130f6e4f
4 changed files with 218 additions and 0 deletions

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'