Under some conditions (broken HTML or PHP 7.1.7, PHP 7.1.8, maybe other versions too), DOMPDF throws Fatal error: Uncaught exception 'DOMPDF_Exception' with message 'No block-level parent found. Not good.'

Enabling HTML5 parser seems to solve the problem.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bbujisic created an issue. See original summary.

bbujisic’s picture

Status: Active » Needs review
FileSize
609 bytes

  • bbujisic committed b3cd515 on 7.x-2.x
    Issue #2912777 by bbujisic: Fix `No block-level parent found. Not good...
bbujisic’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.