cannot add list on textrun
This commit is contained in:
parent
46476d7101
commit
33739ea21c
@ -366,7 +366,7 @@ class Html
|
|||||||
*/
|
*/
|
||||||
private static function shouldAddTextRun(\DOMNode $node)
|
private static function shouldAddTextRun(\DOMNode $node)
|
||||||
{
|
{
|
||||||
$containsBlockElement = self::$xpath->query('.//table|./p', $node)->length > 0;
|
$containsBlockElement = self::$xpath->query('.//table|./p|./ul|./li', $node)->length > 0;
|
||||||
if ($containsBlockElement) {
|
if ($containsBlockElement) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user