From 5f577437e8afa124b843ccac37300fb5cc2fd312 Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Fri, 31 Aug 2018 09:47:24 +0000 Subject: [PATCH] Change @return-taint to use onlysafefor_html instad of escapes_html This prevents some double escaped warnings. Requires I2f4e33656b9f94 to be effective. Follow up faf2e14517b05f8. Change-Id: I255c96592f3baff2df34e07c81510c8874908e28 Bug: T202797 --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index 0aa8ec5649..0ee6c92f77 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1213,7 +1213,7 @@ class Linker { * as used by WikiMap. * * @return string HTML - * @return-taint escapes_html + * @return-taint onlysafefor_html */ public static function formatLinksInComment( $comment, $title = null, $local = false, $wikiId = null -- 2.20.1