From 34084e00127cbcb1389ac35ec4d7a2dea24da4ef Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Mon, 13 Aug 2018 22:51:49 +0200 Subject: [PATCH] Make default value of $footnotes_assembled null again --- Michelf/MarkdownExtra.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Michelf/MarkdownExtra.php b/Michelf/MarkdownExtra.php index 3985716..123f2f8 100644 --- a/Michelf/MarkdownExtra.php +++ b/Michelf/MarkdownExtra.php @@ -96,9 +96,9 @@ class MarkdownExtra extends \Michelf\Markdown { * `section` that will enclose the list of footnotes so they are * reachable to accessibility tools the same way they would be with the * default HTML output. - * @var string + * @var null|string */ - public $footnotes_assembled = ""; + public $footnotes_assembled = null; /** * Parser implementation @@ -173,7 +173,7 @@ class MarkdownExtra extends \Michelf\Markdown { $this->abbr_desciptions = array(); $this->abbr_word_re = ''; $this->footnote_counter = 1; - $this->footnotes_assembled = ""; + $this->footnotes_assembled = null; foreach ($this->predef_abbr as $abbr_word => $abbr_desc) { if ($this->abbr_word_re) @@ -195,7 +195,7 @@ class MarkdownExtra extends \Michelf\Markdown { $this->abbr_word_re = ''; if ( ! $this->omit_footnotes ) - $this->footnotes_assembled = ""; + $this->footnotes_assembled = null; parent::teardown(); }