Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Mar 18, 2022
1 parent 5535da8 commit 270f53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lhc_web/lib/core/lhbbcode/lhbbcode_cleanup.php
Expand Up @@ -667,7 +667,7 @@ public static function _make_url_embed_image($matches) {
}

if (strpos($url,'http://') === false && strpos($url,'https://') === false) {
$url = str_replace('//','/',self::getHost() .'/'. $url);
$url = self::getHost() . str_replace('//','/','/'. $url).' ';
}

return $prepend . ' ' . $url;
Expand Down

0 comments on commit 270f53e

Please sign in to comment.