cliveportman/code

DOM-PDF 'No block-level parent found. Not good.' error with or without Craft CMS

Remove the <head></head> and all should be fine.