Merge branch 'master' into extra
This commit is contained in:
commit
96885ef5ca
1 changed files with 16 additions and 11 deletions
27
markdown.php
27
markdown.php
|
|
@ -214,17 +214,7 @@ if (strcasecmp(substr(__FILE__, -16), "classTextile.php") == 0) {
|
|||
|
||||
class Markdown_Parser {
|
||||
|
||||
# Regex to match balanced [brackets].
|
||||
# Needed to insert a maximum bracked depth while converting to PHP.
|
||||
var $nested_brackets_depth = 6;
|
||||
var $nested_brackets_re;
|
||||
|
||||
var $nested_url_parenthesis_depth = 4;
|
||||
var $nested_url_parenthesis_re;
|
||||
|
||||
# Table of hash values for escaped characters:
|
||||
var $escape_chars = '\`*_{}[]()>#+-.!';
|
||||
var $escape_chars_re;
|
||||
### Configuration Variables ###
|
||||
|
||||
# Change to ">" for HTML output.
|
||||
var $empty_element_suffix = MARKDOWN_EMPTY_ELEMENT_SUFFIX;
|
||||
|
|
@ -239,6 +229,21 @@ class Markdown_Parser {
|
|||
var $predef_titles = array();
|
||||
|
||||
|
||||
### Parser Implementation ###
|
||||
|
||||
# Regex to match balanced [brackets].
|
||||
# Needed to insert a maximum bracked depth while converting to PHP.
|
||||
var $nested_brackets_depth = 6;
|
||||
var $nested_brackets_re;
|
||||
|
||||
var $nested_url_parenthesis_depth = 4;
|
||||
var $nested_url_parenthesis_re;
|
||||
|
||||
# Table of hash values for escaped characters:
|
||||
var $escape_chars = '\`*_{}[]()>#+-.!';
|
||||
var $escape_chars_re;
|
||||
|
||||
|
||||
function Markdown_Parser() {
|
||||
#
|
||||
# Constructor function. Initialize appropriate member variables.
|
||||
|
|
|
|||
Loading…
Reference in a new issue