Assert table header does not contain new lines

This commit is contained in:
Aidan Woods 2018-04-09 16:37:32 +01:00
parent c440c91af5
commit cb33daf0e6
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
1 changed files with 1 additions and 0 deletions

View File

@ -883,6 +883,7 @@ class Parsedown
strpos($Block['element']['handler']['argument'], '|') === false
and strpos($Line['text'], '|') === false
and strpos($Line['text'], ':') === false
or strpos($Block['element']['handler']['argument'], "\n") !== false
) {
return;
}