From: Brion Vibber Date: Thu, 6 Oct 2011 18:08:38 +0000 (+0000) Subject: * (bug 31435) Fix raw watchlist edit regression from r84718. X-Git-Tag: 1.31.0-rc.0~27223 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=7125e3f51222cc24f50a39fce8f92f0de73d3e38;p=lhc%2Fweb%2Fwiklou.git * (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. --- 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',