Change @return-taint to use onlysafefor_html instad of escapes_html
authorBrian Wolff <bawolff+wn@gmail.com>
Fri, 31 Aug 2018 09:47:24 +0000 (09:47 +0000)
committerBrian Wolff <bawolff+wn@gmail.com>
Fri, 31 Aug 2018 09:48:30 +0000 (09:48 +0000)
This prevents some double escaped warnings. Requires
I2f4e33656b9f94 to be effective. Follow up faf2e14517b05f8.

Change-Id: I255c96592f3baff2df34e07c81510c8874908e28
Bug: T202797

includes/Linker.php

index 0aa8ec5..0ee6c92 100644 (file)
@@ -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