Mercurial > genshi > mirror
diff genshi/filters/i18n.py @ 1037:744a33f78ccc trunk
Add HTML5 input placeholder attribute to list of translatable attributes (fixes #577).
author | hodgestar |
---|---|
date | Wed, 19 Mar 2014 14:31:48 +0000 |
parents | 38565f2ab970 |
children |
line wrap: on
line diff
--- a/genshi/filters/i18n.py +++ b/genshi/filters/i18n.py @@ -604,7 +604,8 @@ QName('style'), QName('http://www.w3.org/1999/xhtml}style') ]) INCLUDE_ATTRS = frozenset([ - 'abbr', 'alt', 'label', 'prompt', 'standby', 'summary', 'title' + 'abbr', 'alt', 'label', 'prompt', 'standby', 'summary', 'title', + 'placeholder', ]) NAMESPACE = I18N_NAMESPACE