Permalink
Browse files

Replaced entity with UTF-8 character for XHTML compatibility.

  • Loading branch information...
1 parent 2c0b34b commit 89173baabd3c7539d0a43a6324fc936c3e9d1664 @rafalwrzeszcz rafalwrzeszcz committed Apr 13, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/ui/controls/button.js
@@ -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;
},

0 comments on commit 89173ba

Please sign in to comment.