1
0
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:
Aidan Woods 2018-04-12 22:22:53 +01:00
parent 3e70819a20
commit 7f4318dbdb
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -1094,7 +1094,10 @@ class Parsedown
{
$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