[Jifty-commit] r2431 - in jifty/branches/template-declare: .
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Dec 27 16:31:37 EST 2006
Author: jesse
Date: Wed Dec 27 16:31:37 2006
New Revision: 2431
Modified:
jifty/branches/template-declare/ (props changed)
jifty/branches/template-declare/lib/Jifty/Web/Form/Field/Button.pm
Log:
r46533 at pinglin: jesse | 2006-12-27 16:31:31 -0500
* Button escaping fix
Modified: jifty/branches/template-declare/lib/Jifty/Web/Form/Field/Button.pm
==============================================================================
--- jifty/branches/template-declare/lib/Jifty/Web/Form/Field/Button.pm (original)
+++ jifty/branches/template-declare/lib/Jifty/Web/Form/Field/Button.pm Wed Dec 27 16:31:37 2006
@@ -29,7 +29,7 @@
'<input',
'type="submit"',
'name="' . $self->input_name . '" ',
- 'value="' . _($self->label ). '"',
+ 'value="' . Jifty->web->escape_utf8(_($self->label )). '"',
'id="'. Jifty->web->serial . '"',
($self->key_binding ? qq( accesskey="@{[$self->key_binding]}") : ''),
$self->_widget_class('button', ($self->button_as_link ? ("button_as_link") : ())),
More information about the Jifty-commit
mailing list