Skip to content

Commit

Permalink
Replaced entity with UTF-8 character for XHTML compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalwrzeszcz committed Apr 13, 2011
1 parent 2c0b34b commit 89173ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/controls/button.js
Expand Up @@ -231,7 +231,8 @@
var span = new Element('span', { 'class': 'ui-button-text' });
// Even an empty text element (e.g., for icon-only buttons) needs to
// have at least one character of text to force proper alignment.
span.update(text || " ");
// Be careful - UTF-8 character here!
span.update(text || " ");
return span;
},

Expand Down

0 comments on commit 89173ba

Please sign in to comment.