Skip to content

Commit 394a991

Browse files
authored
[DobinDom] Fix lint style warning (#4986)
1 parent 0a228fb commit 394a991

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

bridges/DobinDomBridge.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ public function collectData()
3434
$embedUrl = $video['embed_url'];
3535

3636
if ($posterUrl) {
37-
$content = '<a href="' . htmlspecialchars($embedUrl) . '">'
38-
. '<img src="' . htmlspecialchars($posterUrl) . '">'
39-
. '</a>';
37+
$content = '<a href="' . htmlspecialchars($embedUrl) . '"><img src="' . htmlspecialchars($posterUrl) . '"></a>';
4038
} else {
4139
$content = '<a href="' . htmlspecialchars($embedUrl) . '">'
4240
. htmlspecialchars($video['title'])

0 commit comments

Comments
 (0)