mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
PHP 5.3 == 💩
This commit is contained in:
parent
3e70819a20
commit
7f4318dbdb
@ -1094,7 +1094,10 @@ class Parsedown
|
|||||||
{
|
{
|
||||||
$Elements = array();
|
$Elements = array();
|
||||||
|
|
||||||
$nonNestables = array_combine($nonNestables, $nonNestables);
|
$nonNestables = (empty($nonNestables)
|
||||||
|
? array()
|
||||||
|
: array_combine($nonNestables, $nonNestables)
|
||||||
|
);
|
||||||
|
|
||||||
# $excerpt is based on the first occurrence of a marker
|
# $excerpt is based on the first occurrence of a marker
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user