diff options
author | Emanuil Rusev <hello@erusev.com> | 2015-07-02 01:01:14 +0300 |
---|---|---|
committer | Emanuil Rusev <hello@erusev.com> | 2015-07-02 01:01:14 +0300 |
commit | ba802c1c8db65db5ecbd87567af519c12b49da9f (patch) | |
tree | aa65ce2ca66b183cf0f1147f5acb49e5f4d83059 | |
parent | 438874e9a884da7b2cfefbbfecdff6c9646d894d (diff) | |
download | parsedown-ba802c1c8db65db5ecbd87567af519c12b49da9f.zip parsedown-ba802c1c8db65db5ecbd87567af519c12b49da9f.tar.gz parsedown-ba802c1c8db65db5ecbd87567af519c12b49da9f.tar.bz2 |
replace the term "incomplete"
-rwxr-xr-x | Parsedown.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Parsedown.php b/Parsedown.php index fca8ddd..660b041 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -163,7 +163,7 @@ class Parsedown # ~ - if (isset($CurrentBlock['incomplete'])) + if (isset($CurrentBlock['continuable'])) { $Block = $this->{'block'.$CurrentBlock['type'].'Continue'}($Line, $CurrentBlock); @@ -179,8 +179,6 @@ class Parsedown { $CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock); } - - unset($CurrentBlock['incomplete']); } } @@ -220,7 +218,7 @@ class Parsedown if (method_exists($this, 'block'.$blockType.'Continue')) { - $Block['incomplete'] = true; + $Block['continuable'] = true; } $CurrentBlock = $Block; @@ -247,7 +245,7 @@ class Parsedown # ~ - if (isset($CurrentBlock['incomplete']) and method_exists($this, 'block'.$CurrentBlock['type'].'Complete')) + if (isset($CurrentBlock['continuable']) and method_exists($this, 'block'.$CurrentBlock['type'].'Complete')) { $CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock); } |