From e5f88779f16c06f25ec4685bd07badfe5986d706 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 6 Jan 2018 13:57:30 -0800 Subject: fix markdown class for new php --- lib/markdown.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/markdown.php b/lib/markdown.php index 8fba9ab..b80f9a0 100644 --- a/lib/markdown.php +++ b/lib/markdown.php @@ -239,7 +239,7 @@ class Markdown_Parser { var $predef_titles = array(); - function Markdown_Parser() { + function __construct() { # # Constructor function. Initialize appropriate member variables. # @@ -1692,7 +1692,7 @@ class MarkdownExtra_Parser extends Markdown_Parser { var $predef_abbr = array(); - function MarkdownExtra_Parser() { + function __construct() { # # Constructor function. Initialize the parser object. # -- cgit v1.2.3