From 7125e3f51222cc24f50a39fce8f92f0de73d3e38 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 6 Oct 2011 18:08:38 +0000 Subject: [PATCH] * (bug 31435) Fix raw watchlist edit regression from r84718. Removed double-escaping of text going into textarea, introduced when refactoring the watchlist editor in r84718. --- includes/specials/SpecialEditWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index c473a6f0f0..af8e71f4cb 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -443,7 +443,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { * @return HTMLForm */ protected function getRawForm(){ - $titles = implode( array_map( 'htmlspecialchars', $this->getWatchlist() ), "\n" ); + $titles = implode( $this->getWatchlist(), "\n" ); $fields = array( 'Titles' => array( 'type' => 'textarea', -- 2.20.1