1
0
mirror of https://github.com/erusev/parsedown.git synced 2025-09-02 19:32:35 +02:00

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

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;
}