cannot add list on textrun

This commit is contained in:
troosan 2018-02-07 21:39:01 +01:00
parent 46476d7101
commit 33739ea21c
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ class Html
*/
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) {
return false;
}