aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/structured-content-generator.js
diff options
context:
space:
mode:
authorMatttttt <18152455+martholomew@users.noreply.github.com>2024-04-22 16:38:04 +0000
committerGitHub <noreply@github.com>2024-04-22 16:38:04 +0000
commit808ddef82a8eabc77ba20a0da89a392926550e76 (patch)
treefd04053c2f5355ac03828ea5206e3fa6c9a4a6c4 /ext/js/display/structured-content-generator.js
parent4873a8db20dd3d3efbf4611b455500b0b03efddf (diff)
Added Details and Summary tags to Structured Content (#842)
* add details and summary tags * fixed css test --------- Co-authored-by: martholomew <martholomew@users.noreply.github.com>
Diffstat (limited to 'ext/js/display/structured-content-generator.js')
-rw-r--r--ext/js/display/structured-content-generator.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/display/structured-content-generator.js b/ext/js/display/structured-content-generator.js
index a7fd9f3d..f3b0890e 100644
--- a/ext/js/display/structured-content-generator.js
+++ b/ext/js/display/structured-content-generator.js
@@ -275,6 +275,8 @@ export class StructuredContentGenerator {
case 'ol':
case 'ul':
case 'li':
+ case 'details':
+ case 'summary':
return this._createStructuredContentElement(tag, content, dictionary, language, 'simple', true, true);
case 'img':
return this.createDefinitionImage(content, dictionary);