Fixed problems with block-level spoilers

Block-level spoilers (= inside <h1>, <li> etc.) were left unparsed.
This commit is contained in:
Marcin Kurczewski 2014-01-14 23:20:47 +01:00
parent 1fcced20f1
commit 15486b6e9a

View file

@ -7,7 +7,7 @@ class CustomMarkdown extends \Michelf\Markdown
{ {
$this->simple = $simple; $this->simple = $simple;
$this->no_markup = true; $this->no_markup = true;
$this->block_gamut += ['doSpoilers' => 71]; $this->span_gamut += ['doSpoilers' => 71];
$this->span_gamut += ['doSearchPermalinks' => 72]; $this->span_gamut += ['doSearchPermalinks' => 72];
$this->span_gamut += ['doStrike' => 6]; $this->span_gamut += ['doStrike' => 6];
$this->span_gamut += ['doUsers' => 7]; $this->span_gamut += ['doUsers' => 7];