dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605caa0
)
Fix double escaping of fieldset's legend in HTMLForm.
author
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Mon, 20 Aug 2012 14:54:11 +0000
(16:54 +0200)
committer
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Mon, 20 Aug 2012 14:54:11 +0000
(16:54 +0200)
The message is fetched using Message::escaped() but is
later passed to Xml::element() (from Xml::fieldset() call
HTMLForm::wrapForm()) which means it is double escaped.
Change-Id: I7154b3b26cc46759c184bdf9059d82470e2ab836
includes/HTMLForm.php
patch
|
blob
|
history
diff --git
a/includes/HTMLForm.php
b/includes/HTMLForm.php
index
db29436
..
ab12377
100644
(file)
--- a/
includes/HTMLForm.php
+++ b/
includes/HTMLForm.php
@@
-873,7
+873,7
@@
class HTMLForm extends ContextSource {
* @return HTMLForm $this for chaining calls (since 1.20)
*/
public function setWrapperLegendMsg( $msg ) {
- $this->setWrapperLegend( $this->msg( $msg )->
escaped
() );
+ $this->setWrapperLegend( $this->msg( $msg )->
text
() );
return $this;
}