From 15486b6e9a094a6083be9e6c06a5fdd05d3ee6fa Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 14 Jan 2014 23:20:47 +0100 Subject: [PATCH] Fixed problems with block-level spoilers Block-level spoilers (= inside

,
  • etc.) were left unparsed. --- src/CustomMarkdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CustomMarkdown.php b/src/CustomMarkdown.php index d1f49229..e23105bb 100644 --- a/src/CustomMarkdown.php +++ b/src/CustomMarkdown.php @@ -7,7 +7,7 @@ class CustomMarkdown extends \Michelf\Markdown { $this->simple = $simple; $this->no_markup = true; - $this->block_gamut += ['doSpoilers' => 71]; + $this->span_gamut += ['doSpoilers' => 71]; $this->span_gamut += ['doSearchPermalinks' => 72]; $this->span_gamut += ['doStrike' => 6]; $this->span_gamut += ['doUsers' => 7];