Code Duplication    Length = 3-3 lines in 3 locations

src/PhpSpreadsheet/Writer/HTML.php 3 locations

@@ 372-374 (lines=3) @@
369
        if ($properties->getTitle() > '') {
370
            $html .= '      <meta name="title" content="' . htmlspecialchars($properties->getTitle()) . '" />' . PHP_EOL;
371
        }
372
        if ($properties->getDescription() > '') {
373
            $html .= '      <meta name="description" content="' . htmlspecialchars($properties->getDescription()) . '" />' . PHP_EOL;
374
        }
375
        if ($properties->getSubject() > '') {
376
            $html .= '      <meta name="subject" content="' . htmlspecialchars($properties->getSubject()) . '" />' . PHP_EOL;
377
        }
@@ 384-386 (lines=3) @@
381
        if ($properties->getCategory() > '') {
382
            $html .= '      <meta name="category" content="' . htmlspecialchars($properties->getCategory()) . '" />' . PHP_EOL;
383
        }
384
        if ($properties->getCompany() > '') {
385
            $html .= '      <meta name="company" content="' . htmlspecialchars($properties->getCompany()) . '" />' . PHP_EOL;
386
        }
387
        if ($properties->getManager() > '') {
388
            $html .= '      <meta name="manager" content="' . htmlspecialchars($properties->getManager()) . '" />' . PHP_EOL;
389
        }
@@ 387-389 (lines=3) @@
384
        if ($properties->getCompany() > '') {
385
            $html .= '      <meta name="company" content="' . htmlspecialchars($properties->getCompany()) . '" />' . PHP_EOL;
386
        }
387
        if ($properties->getManager() > '') {
388
            $html .= '      <meta name="manager" content="' . htmlspecialchars($properties->getManager()) . '" />' . PHP_EOL;
389
        }
390
391
        if ($pIncludeStyles) {
392
            $html .= $this->generateStyles(true);