1
0
mirror of https://github.com/erusev/parsedown.git synced 2025-09-03 03:42:38 +02:00

PHP 5.3 == 💩

This commit is contained in:
Aidan Woods
2018-04-12 22:22:53 +01:00
parent 3e70819a20
commit 7f4318dbdb

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