MEDIUM: Better fix for entities showing in title attribute
This commit is contained in:
parent
0e3bd1adbb
commit
249279fff6
|
@ -50,7 +50,7 @@ class MathSpamProtectorField extends SpamProtectorField {
|
|||
* @return string
|
||||
*/
|
||||
function ATTTitle() {
|
||||
return Convert::html2raw($this->Title());
|
||||
return html_entity_decode($this->Title(), ENT_COMPAT , 'UTF-8');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -21,5 +21,5 @@ fr:
|
|||
WHATIS: 'Combien font %s plus %s ?'
|
||||
ZERO: zéro
|
||||
MathSpamProtectionField:
|
||||
INCORRECTSOLUTION: 'Mauvaise réponse, essayez à nouveau.'
|
||||
INCORRECTSOLUTION: 'Mauvaise réponse !'
|
||||
SPAMQUESTION: 'Question anti-spam : %s'
|
Loading…
Reference in New Issue