From 3c118426c3b1e3e961346d8b66ce7b3cc124a42f Mon Sep 17 00:00:00 2001 From: Sergey Podgornyy Date: Tue, 21 Aug 2018 12:36:26 +0200 Subject: [PATCH] Enable markdown inside details and summary tags --- Parsedown.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Parsedown.php b/Parsedown.php index 9008a89..17bc1bb 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -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',