🇳🇱Netherlands hanskuipers
This seems to work, replace the original
$yvar = "y_$h_f";
$this->writeHTMLCell(0, 0,
(float)$this->lMargin, (float)$this->$yvar,
format_string($rendered, array('!page' => $this->getPage())),
0, 0,
FALSE, TRUE,
$display->getOption("{$h_f}_text_align")
);
with this
$yvar = "y_$h_f";
$renderer = \Drupal::service('renderer');
$html = $renderer->render($rendered);
$markup = new \Drupal\Component\Render\FormattableMarkup($html, array('!page' => $this->getPage()));
$this->writeHTMLCell(0, 0,
(float)$this->lMargin, (float)$this->$yvar,
$markup->__toString(),
//format_string($rendered, array('!page' => $this->getPage())),
0, 0,
FALSE, TRUE,
$display->getOption("{$h_f}_text_align")
);
🇳🇱Netherlands hanskuipers
hanskuipers → created an issue.