Skip to content

Commit 96baaad

Browse files
committed
clean up code before 1.8.0 release
1 parent 4226998 commit 96baaad

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Parsedown.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,8 +1502,6 @@ protected function inlineSpecialCharacter($Excerpt)
15021502
'extent' => strlen($matches[0]),
15031503
);
15041504
}
1505-
1506-
return;
15071505
}
15081506

15091507
protected function inlineStrikethrough($Excerpt)
@@ -1851,6 +1849,9 @@ protected static function pregReplaceElements($regexp, $Elements, $text)
18511849
# Deprecated Methods
18521850
#
18531851

1852+
/**
1853+
* @deprecated use text() instead
1854+
*/
18541855
function parse($text)
18551856
{
18561857
$markup = $this->text($text);

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Better Markdown Parser in PHP — <a href="https://parsedown.org/demo">demo</a>
1313
- [Super fast](http://parsedown.org/speed)
1414
- Extensible
1515
- [GitHub flavored](https://github.github.com/gfm)
16-
- [Tested](http://parsedown.org/tests/) in 5.3 to 7.3
16+
- [Tested](http://parsedown.org/tests/) in PHP 7.1+
1717
- [Markdown Extra extension](https://github.com/erusev/parsedown-extra)
1818

1919
## Installation

0 commit comments

Comments
 (0)