com web/doc: Fix Parsedown for PHP 7: include/Parsedown.php
| From: | Christoph Michael Becker | Date: | Fri, 12 Jul 2019 14:49:37 +0000 |
| Subject: | com web/doc: Fix Parsedown for PHP 7: include/Parsedown.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-2450@lists.php.net to get a copy of this message | ||
Commit: 61e52a420433d3d0cd4502c6b7c833cc37ea532b
Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 12 Jul 2019 16:49:37 +0200
Parents: 5f1c2fb6cecc21b904ccc2d1739cc245b0f3efbc
Branches: master
Link: http://git.php.net/?p=web/doc.git;a=commitdiff;h=61e52a420433d3d0cd4502c6b7c833cc37ea532b
Log:
Fix Parsedown for PHP 7
We should actually consider to update this library.
Changed paths:
M include/Parsedown.php
Diff:
diff --git a/include/Parsedown.php b/include/Parsedown.php
index c0eb7c3..7e34540 100644
--- a/include/Parsedown.php
+++ b/include/Parsedown.php
@@ -891,7 +891,7 @@ class Parsedown
if (isset($Element['handler']))
{
- $markup .= $this->$Element['handler']($Element['text']);
+ $markup .= $this->{$Element['handler']}($Element['text']);
}
else
{