diff --git a/src/Helpers/Sanitizer.php b/src/Helpers/Sanitizer.php
index 8c7a573..88f1b87 100644
--- a/src/Helpers/Sanitizer.php
+++ b/src/Helpers/Sanitizer.php
@@ -36,17 +36,17 @@ public static function parseAllLinks(?string $content): string
protected static function parseLink(string $content, array $linksToCheck, string $rel)
{
return preg_replace_callback('/]+)>/', function ($matches) use ($linksToCheck, $rel) {
- if (!preg_match('/rel="/', $matches[0])) {
+ if (! preg_match('/rel="/', $matches[0])) {
preg_match('/href="([^"]*)"/', $matches[1], $hrefMatches);
$link = $hrefMatches[1];
foreach ($linksToCheck as $linkToCheck) {
if (@preg_match($linkToCheck, $link)) {
if (preg_match($linkToCheck, $link)) {
- return str_replace('