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

Merge pull request #280 from kelunik/master

Fixes PHP 7 compatibility
This commit is contained in:
Emanuil Rusev 2015-02-02 02:33:38 +02:00
commit 6c9df528aa

View File

@ -1402,7 +1402,7 @@ class Parsedown
if (isset($Element['handler'])) if (isset($Element['handler']))
{ {
$markup .= $this->$Element['handler']($Element['text']); $markup .= $this->{$Element['handler']}($Element['text']);
} }
else else
{ {