Code Duplication    Length = 5-5 lines in 2 locations

typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 2 locations

@@ 4467-4471 (lines=5) @@
4464
                        . $aTagParams . $this->extLinkATagParams(('http://' . $parts[0]), 'url') . '>';
4465
4466
                    $wrap = isset($conf['wrap.']) ? $this->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap'];
4467
                    if ((string)$conf['ATagBeforeWrap'] !== '') {
4468
                        $res = $res . $this->wrap($linktxt, $wrap) . '</a>';
4469
                    } else {
4470
                        $res = $this->wrap($res . $linktxt . '</a>', $wrap);
4471
                    }
4472
                    $textstr .= $res . $parts[1];
4473
                } else {
4474
                    $textstr .= $scheme . $textpieces[$i];
@@ 4513-4517 (lines=5) @@
4510
                $mailToUrl = $tsfe->spamProtectEmailAddresses === 'ascii' ? $mailToUrl : htmlspecialchars($mailToUrl);
4511
                $res = '<a href="' . $mailToUrl . '"' . $aTagParams . '>';
4512
                $wrap = isset($conf['wrap.']) ? $this->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap'];
4513
                if ((string)$conf['ATagBeforeWrap'] !== '') {
4514
                    $res = $res . $this->wrap($linktxt, $wrap) . '</a>';
4515
                } else {
4516
                    $res = $this->wrap($res . $linktxt . '</a>', $wrap);
4517
                }
4518
                $textstr .= $res . $parts[1];
4519
            } else {
4520
                $textstr .= 'mailto:' . $textpieces[$i];