$docx->addTemplateVariable('event_details', $details, 'html');
but it works when I enter the actual HTML in the function and not pass it as a string.
$docx->addTemplateVariable('event_details', '<strong>This is a test</strong>', 'html');
any thoughts as to why I can not pass the HTML as a string received by a post?????