summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2018-01-06 13:57:30 -0800
committerAaron Parecki <aaron@parecki.com>2018-01-06 13:57:30 -0800
commite5f88779f16c06f25ec4685bd07badfe5986d706 (patch)
treee7ba6618aa721ed584967fe296101af72104c1e6 /lib
parent13c6005fb08c9b271018835f16d151d5ba07a87f (diff)
fix markdown class for new php
Diffstat (limited to 'lib')
-rw-r--r--lib/markdown.php4
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.
#