From: Marcel Werk Date: Thu, 6 Aug 2020 19:51:51 +0000 (+0200) Subject: use StringUtil::getAnchorTag() X-Git-Tag: 5.3.0_Alpha_1~83^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=77965fb926ba43f028cd0235d0c4d2cdceb349c7;p=GitHub%2FWoltLab%2FWCF.git use StringUtil::getAnchorTag() --- diff --git a/wcfsetup/install/files/lib/system/option/user/URLUserOptionOutput.class.php b/wcfsetup/install/files/lib/system/option/user/URLUserOptionOutput.class.php index eae428bfbb..d0080932c1 100644 --- a/wcfsetup/install/files/lib/system/option/user/URLUserOptionOutput.class.php +++ b/wcfsetup/install/files/lib/system/option/user/URLUserOptionOutput.class.php @@ -20,8 +20,8 @@ class URLUserOptionOutput implements IUserOptionOutput { if (empty($value) || $value == 'http://') return ''; $value = self::getURL($value); - $value = StringUtil::encodeHTML($value); - return ''.$value.''; + + return StringUtil::getAnchorTag($value, $value); } /**