Code Duplication    Length = 3-3 lines in 3 locations

src/PhpSpreadsheet/Writer/Html.php 3 locations

@@ 368-370 (lines=3) @@
365
        if ($properties->getTitle() > '') {
366
            $html .= '      <meta name="title" content="' . htmlspecialchars($properties->getTitle()) . '" />' . PHP_EOL;
367
        }
368
        if ($properties->getDescription() > '') {
369
            $html .= '      <meta name="description" content="' . htmlspecialchars($properties->getDescription()) . '" />' . PHP_EOL;
370
        }
371
        if ($properties->getSubject() > '') {
372
            $html .= '      <meta name="subject" content="' . htmlspecialchars($properties->getSubject()) . '" />' . PHP_EOL;
373
        }
@@ 380-382 (lines=3) @@
377
        if ($properties->getCategory() > '') {
378
            $html .= '      <meta name="category" content="' . htmlspecialchars($properties->getCategory()) . '" />' . PHP_EOL;
379
        }
380
        if ($properties->getCompany() > '') {
381
            $html .= '      <meta name="company" content="' . htmlspecialchars($properties->getCompany()) . '" />' . PHP_EOL;
382
        }
383
        if ($properties->getManager() > '') {
384
            $html .= '      <meta name="manager" content="' . htmlspecialchars($properties->getManager()) . '" />' . PHP_EOL;
385
        }
@@ 383-385 (lines=3) @@
380
        if ($properties->getCompany() > '') {
381
            $html .= '      <meta name="company" content="' . htmlspecialchars($properties->getCompany()) . '" />' . PHP_EOL;
382
        }
383
        if ($properties->getManager() > '') {
384
            $html .= '      <meta name="manager" content="' . htmlspecialchars($properties->getManager()) . '" />' . PHP_EOL;
385
        }
386
387
        if ($pIncludeStyles) {
388
            $html .= $this->generateStyles(true);