diff --git a/src/PhpWord/Shared/Html.php b/src/PhpWord/Shared/Html.php
index 876d0a3a..620839b4 100644
--- a/src/PhpWord/Shared/Html.php
+++ b/src/PhpWord/Shared/Html.php
@@ -381,6 +381,20 @@ class Html
case 'background-color':
$styles['bgColor'] = trim($cValue, '#');
break;
+ case 'font-weight':
+ $tValue = false;
+ if (preg_match('#bold#', $cValue)) {
+ $tValue = true; // also match bolder
+ }
+ $styles['bold'] = $tValue;
+ break;
+ case 'font-style':
+ $tValue = false;
+ if (preg_match('#(?:italic|oblique)#', $cValue)) {
+ $tValue = true;
+ }
+ $styles['italic'] = $tValue;
+ break;
}
}