Assert table header does not contain new lines
This commit is contained in:
parent
c440c91af5
commit
cb33daf0e6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue