Thank you for your reply.
By removing font-style and font-family, then wrapping a div with font-size:initial, the embeded HTML is formatted as the "Normal" sytle is defined in the template. It is enough for me, I can customize each template as I want with the "Normal" style and a generic PHP code.
In case of more than one style is needed, check replaceVariablebyHTML methods strictWordStyles and wordStyles.
//Convert accents in html entities
$html = htmlspecialchars_decode(htmlentities($html, ENT_NOQUOTES, 'UTF-8'), ENT_NOQUOTES);
// Remove font-size CSS statements
$html = preg_replace("/font-size: ?(\d*[.])?\d+(px|%|pt);/", '', $html);
// Remove font-family CSS statements
$html = preg_replace("/(font-family:)(.+?)(;)/", '', $html);
//Set the font size
$html = "<div style='font-size:initial;'>".$html."</div>";
Best regards