Code Duplication    Length = 3-3 lines in 3 locations

src/PhpSpreadsheet/Writer/Html.php 3 locations

@@ 388-390 (lines=3) @@
385
        if ($properties->getTitle() > '') {
386
            $html .= '      <meta name="title" content="' . htmlspecialchars($properties->getTitle()) . '" />' . PHP_EOL;
387
        }
388
        if ($properties->getDescription() > '') {
389
            $html .= '      <meta name="description" content="' . htmlspecialchars($properties->getDescription()) . '" />' . PHP_EOL;
390
        }
391
        if ($properties->getSubject() > '') {
392
            $html .= '      <meta name="subject" content="' . htmlspecialchars($properties->getSubject()) . '" />' . PHP_EOL;
393
        }
@@ 400-402 (lines=3) @@
397
        if ($properties->getCategory() > '') {
398
            $html .= '      <meta name="category" content="' . htmlspecialchars($properties->getCategory()) . '" />' . PHP_EOL;
399
        }
400
        if ($properties->getCompany() > '') {
401
            $html .= '      <meta name="company" content="' . htmlspecialchars($properties->getCompany()) . '" />' . PHP_EOL;
402
        }
403
        if ($properties->getManager() > '') {
404
            $html .= '      <meta name="manager" content="' . htmlspecialchars($properties->getManager()) . '" />' . PHP_EOL;
405
        }
@@ 403-405 (lines=3) @@
400
        if ($properties->getCompany() > '') {
401
            $html .= '      <meta name="company" content="' . htmlspecialchars($properties->getCompany()) . '" />' . PHP_EOL;
402
        }
403
        if ($properties->getManager() > '') {
404
            $html .= '      <meta name="manager" content="' . htmlspecialchars($properties->getManager()) . '" />' . PHP_EOL;
405
        }
406
407
        if ($pIncludeStyles) {
408
            $html .= $this->generateStyles(true);