HTMLForm: fix double escaping of checkbox labels in vform
authorPcoombe <pcoombe@wikimedia.org>
Tue, 15 Apr 2014 14:58:51 +0000 (15:58 +0100)
committerIAlex <codereview@emsenhuber.ch>
Sun, 25 May 2014 14:55:02 +0000 (14:55 +0000)
commit16b731dc575290c52ec4962f320f677866d59f55
treedfdb0e1ae596aa726389bc4aa6ef672ba05a4dd7
parent5821a0ef3414b6b3ae4369d36c5d59ceafbf72b4
HTMLForm: fix double escaping of checkbox labels in vform

mLabel has already been escaped if required. It isn't run through htmlspecialchars()
in other display formats, so doesn't need to be done in vform.

Change-Id: I0b0feec408687cdadf01da5f2078980015538bb7
includes/htmlform/HTMLCheckField.php [changed mode: 0644->0755]