Open Zae opened 2 months ago
It appear that whenever line-height: inherit; is used in an inline style attribute, phpword crashes with the error: Exception 'TypeError' with message 'Unsupported operand types: string * int'
line-height: inherit;
Exception 'TypeError' with message 'Unsupported operand types: string * int'
phpWord to not crash with a TypeError
<div> <div style="line-height:inherit;"> </div> </div>
Html::addHtml($section, $content);
1.3.0
8.1.2
Describe the bug and add attachments
It appear that whenever
line-height: inherit;
is used in an inline style attribute, phpword crashes with the error:Exception 'TypeError' with message 'Unsupported operand types: string * int'
Expected behavior
phpWord to not crash with a TypeError
Steps to reproduce
PHPWord version(s) where the bug happened
1.3.0
PHP version(s) where the bug happened
8.1.2
Priority