diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php
index 7328328e23..943842c3b5 100644
--- a/src/Content/Text/BBCode.php
+++ b/src/Content/Text/BBCode.php
@@ -687,7 +687,7 @@ class BBCode
} elseif (!empty($data['preview'])) {
$return .= sprintf('
', $data['url'], self::proxyUrl($data['preview'], $simplehtml, $uriid), $data['title']);
}
- $return .= sprintf('
', $data['url'], $data['title']);
+ $return .= sprintf('', $data['url'], $data['title']);
}
}
@@ -698,9 +698,9 @@ class BBCode
if (!empty($data['provider_url']) && !empty($data['provider_name'])) {
if (!empty($data['author_name'])) {
- $return .= sprintf('%s (%s)', $data['provider_url'], $data['author_name'], $data['provider_name']);
+ $return .= sprintf('%s (%s)', $data['provider_url'], $data['author_name'], $data['provider_name']);
} else {
- $return .= sprintf('%s', $data['provider_url'], $data['provider_name']);
+ $return .= sprintf('%s', $data['provider_url'], $data['provider_name']);
}
}