I fixed the problem by setting DOMPDF to parse the HTML using the HTML5 parser. By uploading a dompdf_config.custom.inc.php to the dompdf directory and set
define("DOMPDF_ENABLE_HTML5PARSER", true);
Hope this helps anybody having this issue. It's been a very nasty one for me that cost me a...