Hi
Could you advise why the styles in $testValue may not be applied during docuemnt creation?
$placeholder = '$EXAMPLE$';
$testValue = '<style>p {color:red; font-weight:bold;}></style><p>Test HTML</p>';
$docx->replaceVariableByHTML($placeholder, 'inline', $testValue, ['addDefaultStyles' => false]); 
                 Log in
                                    Log in
                                 Contact
                                Contact
                             Forum
                                Forum