mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Fix ';' error in posts
This commit is contained in:
parent
185c007b50
commit
56fe715bce
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ trait TRichText
|
|||
$href = str_replace("#", "#", $matches[1]);
|
||||
$href = rawurlencode(str_replace(";", ";", $matches[1]));
|
||||
$link = str_replace("#", "#", $matches[3]);
|
||||
$link = str_replace(";", ";", $matches[3]);
|
||||
$link = str_replace(";", ";", $link);
|
||||
$rel = $this->isAd() ? "sponsored" : "ugc";
|
||||
|
||||
return "<a href='/away.php?to=$href' rel='$rel' target='_blank'>$link</a>" . htmlentities($matches[4]);
|
||||
|
|
Loading…
Reference in a new issue