diff --git a/src/subParsers/makehtml/hashHTMLBlocks.js b/src/subParsers/makehtml/hashHTMLBlocks.js index 9019017..605886c 100644 --- a/src/subParsers/makehtml/hashHTMLBlocks.js +++ b/src/subParsers/makehtml/hashHTMLBlocks.js @@ -36,6 +36,7 @@ showdown.subParser('makehtml.hashHTMLBlocks', function (text, options, globals) 'hgroup', 'output', 'video', + 'details', 'p' ], repFunc = function (wholeMatch, match, left, right) { diff --git a/test/functional/makehtml/cases/standard/html5-strutural-tags.html b/test/functional/makehtml/cases/standard/html5-strutural-tags.html index f054d42..2374788 100644 --- a/test/functional/makehtml/cases/standard/html5-strutural-tags.html +++ b/test/functional/makehtml/cases/standard/html5-strutural-tags.html @@ -55,3 +55,7 @@

Secondary title

+
+ Summarise me +

Explain the details

+
diff --git a/test/functional/makehtml/cases/standard/html5-strutural-tags.md b/test/functional/makehtml/cases/standard/html5-strutural-tags.md index bbf9c67..33ec68d 100644 --- a/test/functional/makehtml/cases/standard/html5-strutural-tags.md +++ b/test/functional/makehtml/cases/standard/html5-strutural-tags.md @@ -66,3 +66,8 @@ the end + +
+ Summarise me +

Explain the details

+
diff --git a/test/functional/makemarkdown/cases/standard/html5-strutural-tags.html b/test/functional/makemarkdown/cases/standard/html5-strutural-tags.html index 9437a87..6697a02 100644 --- a/test/functional/makemarkdown/cases/standard/html5-strutural-tags.html +++ b/test/functional/makemarkdown/cases/standard/html5-strutural-tags.html @@ -32,3 +32,7 @@

Secondary title

+
+ Summarise me +

Explain the details

+
diff --git a/test/functional/makemarkdown/cases/standard/html5-strutural-tags.md b/test/functional/makemarkdown/cases/standard/html5-strutural-tags.md index 3c6c7c8..1262a44 100644 --- a/test/functional/makemarkdown/cases/standard/html5-strutural-tags.md +++ b/test/functional/makemarkdown/cases/standard/html5-strutural-tags.md @@ -31,3 +31,5 @@ the end

Main title

Secondary title

+ +
Summarise me

Explain the details