Skip to content

Commit a039923

Browse files
committed
Internal: Remove potential double conversion of quotes in api_htmlentites() (change introduced in 1.11.30 to increase support for PHP 8.3) - loosely refs #6400
1 parent ef7c8b5 commit a039923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/internationalization.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ function api_htmlentities($string, $quote_style = ENT_COMPAT, $encoding = 'UTF-8
12071207
break;
12081208
}
12091209

1210-
return htmlentities($string, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
1210+
return htmlentities($string, ENT_SUBSTITUTE, 'UTF-8');
12111211
}
12121212

12131213
/**

0 commit comments

Comments
 (0)