Skip to content

Commit

Permalink
Merge pull request #19 from wrklst/analysis-qgEPn4
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
tobiasvielmetter committed Nov 3, 2017
2 parents d80b14a + 642bf6d commit 97af011
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WrkLst/DocxMustache/HtmlConversion.php
Expand Up @@ -41,13 +41,13 @@ public static function convertHtmlToOpenXMLTag($value, $tag = 'b')
$value_array[] = $tag_open_values[0];
$value_array[] = '</w:t></w:r>';

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 = '<w:i w:val="0"/>';
}
Expand Down

0 comments on commit 97af011

Please sign in to comment.