1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Enable markdown inside details and summary tags

This commit is contained in:
Sergey Podgornyy 2018-08-21 12:36:26 +02:00
parent c26a2ee4bf
commit 3c118426c3

View File

@ -1963,8 +1963,8 @@ class Parsedown
);
protected $textLevelElements = array(
'a', 'br', 'bdo', 'abbr', 'blink', 'nextid', 'acronym', 'basefont',
'b', 'em', 'big', 'cite', 'small', 'spacer', 'listing',
'a', 'br', 'bdo', 'abbr', 'blink', 'nextid', 'acronym', 'basefont', 'details',
'b', 'em', 'big', 'cite', 'small', 'spacer', 'listing', 'summary',
'i', 'rp', 'del', 'code', 'strike', 'marquee',
'q', 'rt', 'ins', 'font', 'strong',
's', 'tt', 'kbd', 'mark',