mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
9816507a75 | |||
7000cbc2d2 | |||
6df242bc97 | |||
f4453fd729 | |||
d8011c00ab |
@ -687,6 +687,13 @@ class Parsedown
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($Block['interrupted']))
|
||||||
|
{
|
||||||
|
$Block['element'] .= "\n";
|
||||||
|
|
||||||
|
unset($Block['interrupted']);
|
||||||
|
}
|
||||||
|
|
||||||
$Block['element'] .= "\n".$Line['body'];
|
$Block['element'] .= "\n".$Line['body'];
|
||||||
|
|
||||||
return $Block;
|
return $Block;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Parsedown
|
## Parsedown
|
||||||
|
|
||||||
Better [Markdown](http://en.wikipedia.org/wiki/Markdown) parser for PHP.
|
Better Markdown Parser in PHP
|
||||||
|
|
||||||
[[ demo ]](http://parsedown.org/demo)
|
[[ demo ]](http://parsedown.org/demo)
|
||||||
|
|
||||||
@ -8,7 +8,7 @@ Better [Markdown](http://en.wikipedia.org/wiki/Markdown) parser for PHP.
|
|||||||
|
|
||||||
* [Fast](http://parsedown.org/speed)
|
* [Fast](http://parsedown.org/speed)
|
||||||
* [Consistent](http://parsedown.org/consistency)
|
* [Consistent](http://parsedown.org/consistency)
|
||||||
* [GitHub Flavored](https://help.github.com/articles/github-flavored-markdown)
|
* [GitHub flavored](https://help.github.com/articles/github-flavored-markdown)
|
||||||
* [Tested](http://parsedown.org/tests/) in PHP 5.2, 5.3, 5.4, 5.5, 5.6 and [hhvm](http://www.hhvm.com/)
|
* [Tested](http://parsedown.org/tests/) in PHP 5.2, 5.3, 5.4, 5.5, 5.6 and [hhvm](http://www.hhvm.com/)
|
||||||
* Extensible
|
* Extensible
|
||||||
* [Markdown Extra extension](https://github.com/erusev/parsedown-extra) <sup>new</sup>
|
* [Markdown Extra extension](https://github.com/erusev/parsedown-extra) <sup>new</sup>
|
||||||
|
8
test/data/sparse_html.html
Normal file
8
test/data/sparse_html.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<div>
|
||||||
|
line 1
|
||||||
|
|
||||||
|
line 2
|
||||||
|
line 3
|
||||||
|
|
||||||
|
line 4
|
||||||
|
</div>
|
8
test/data/sparse_html.md
Normal file
8
test/data/sparse_html.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<div>
|
||||||
|
line 1
|
||||||
|
|
||||||
|
line 2
|
||||||
|
line 3
|
||||||
|
|
||||||
|
line 4
|
||||||
|
</div>
|
Reference in New Issue
Block a user