Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Replaced entity with UTF-8 character for XHTML compatibility.

  • Loading branch information...
commit 89173baabd3c7539d0a43a6324fc936c3e9d1664 1 parent 2c0b34b
@rafalwrzeszcz rafalwrzeszcz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/ui/controls/button.js
View
3  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;
},
Please sign in to comment.
Something went wrong with that request. Please try again.