diff options
author | Aaron Parecki <aaron@parecki.com> | 2018-01-06 13:57:30 -0800 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2018-01-06 13:57:30 -0800 |
commit | e5f88779f16c06f25ec4685bd07badfe5986d706 (patch) | |
tree | e7ba6618aa721ed584967fe296101af72104c1e6 | |
parent | 13c6005fb08c9b271018835f16d151d5ba07a87f (diff) |
fix markdown class for new php
-rw-r--r-- | lib/markdown.php | 4 |
1 files 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. # |