diff --git a/src/WrkLst/DocxMustache/HtmlConversion.php b/src/WrkLst/DocxMustache/HtmlConversion.php index f0e7152..d82684b 100644 --- a/src/WrkLst/DocxMustache/HtmlConversion.php +++ b/src/WrkLst/DocxMustache/HtmlConversion.php @@ -41,13 +41,13 @@ public static function convertHtmlToOpenXMLTag($value, $tag = 'b') $value_array[] = $tag_open_values[0]; $value_array[] = ''; - if ($tag=="u") { + if ($tag == 'u') { $tag_ooxml = 'u w:val="single" '; $loose_formatting = ''; - } elseif ($tag == "b" || $tag == "strong") { + } elseif ($tag == 'b' || $tag == 'strong') { $tag_ooxml = 'b '; $loose_formatting = ''; - } elseif ($tag == "i" || $tag == "em") { + } elseif ($tag == 'i' || $tag == 'em') { $tag_ooxml = 'i '; $loose_formatting = ''; }