From 77965fb926ba43f028cd0235d0c4d2cdceb349c7 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 6 Aug 2020 21:51:51 +0200 Subject: [PATCH] use StringUtil::getAnchorTag() --- .../lib/system/option/user/URLUserOptionOutput.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /** -- 2.20.1