MEDIUM: Better fix for entities showing in title attribute

This commit is contained in:
Juan Molina 2012-10-14 20:10:34 +02:00
parent 0e3bd1adbb
commit 249279fff6
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class MathSpamProtectorField extends SpamProtectorField {
* @return string * @return string
*/ */
function ATTTitle() { function ATTTitle() {
return Convert::html2raw($this->Title()); return html_entity_decode($this->Title(), ENT_COMPAT , 'UTF-8');
} }
/** /**

View File

@ -21,5 +21,5 @@ fr:
WHATIS: 'Combien font %s plus %s ?' WHATIS: 'Combien font %s plus %s ?'
ZERO: zéro ZERO: zéro
MathSpamProtectionField: MathSpamProtectionField:
INCORRECTSOLUTION: 'Mauvaise réponse, essayez à nouveau.' INCORRECTSOLUTION: 'Mauvaise réponse !'
SPAMQUESTION: 'Question anti-spam : %s' SPAMQUESTION: 'Question anti-spam : %s'