Skip to content

Commit 13c9576

Browse files
committed
-
1 parent 9fc4b5b commit 13c9576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/HtmlForPdfGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private function cleanupContent($content)
145145
// convert links to footnote
146146
$content = preg_replace_callback(
147147
'#<a href="(.*?)" class="reference external"(?:[^>]*)>(.*?)</a>#',
148-
static function ($matches) {
148+
static function ($matches): string {
149149
if (0 === strpos($matches[2], 'http')) {
150150
return sprintf('<em><a href="%s">%s</a></em>', $matches[2], $matches[2]);
151151
}

0 commit comments

Comments
 (0)