Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion user/src/com/google/gwt/layout/client/LayoutImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class LayoutImpl {

protected static DivElement createRuler(Unit widthUnit, Unit heightUnit) {
DivElement ruler = Document.get().createDivElement();
ruler.setInnerHTML(" ");
ruler.setInnerHTML(" ");
Style style = ruler.getStyle();
style.setPosition(Position.ABSOLUTE);
style.setZIndex(-32767);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private String getColor(int logLevel) {
private String getEscaped(String text) {
text = text.replaceAll("<", "&lt;");
text = text.replaceAll(">", "&gt;");
text = text.replaceAll("\t", "&nbsp;&nbsp;&nbsp;");
text = text.replaceAll("\t", "&#xA0;&#xA0;&#xA0;");
return text;
}

Expand Down
6 changes: 3 additions & 3 deletions user/src/com/google/gwt/user/client/ui/Grid.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class Grid extends HTMLTable {
*/
private static native void addRows(Element table, int rows, int columns) /*-{
var td = $doc.createElement("td");
td.innerHTML = "&nbsp;";
td.innerHTML = "&#xA0;";
var row = $doc.createElement("tr");
for(var cellNum = 0; cellNum < columns; cellNum++) {
var cell = td.cloneNode(true);
Expand Down Expand Up @@ -130,7 +130,7 @@ public Grid(int rows, int columns) {
public boolean clearCell(int row, int column) {
Element td = getCellFormatter().getElement(row, column);
boolean b = internalClearCell(td, false);
td.setInnerHTML("&nbsp;");
td.setInnerHTML("&#xA0;");
return b;
}

Expand Down Expand Up @@ -271,7 +271,7 @@ protected com.google.gwt.user.client.Element createCell() {

// Add a non-breaking space to the TD. This ensures that the cell is
// displayed.
td.setInnerHTML("&nbsp;");
td.setInnerHTML("&#xA0;");
return DOM.asOld(td);
}

Expand Down
2 changes: 1 addition & 1 deletion user/src/com/google/gwt/user/client/ui/TabBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public TabBar() {

panel.setVerticalAlignment(HasVerticalAlignment.ALIGN_BOTTOM);

HTML first = new HTML("&nbsp;", true), rest = new HTML("&nbsp;", true);
HTML first = new HTML("&#xA0;", true), rest = new HTML("&#xA0;", true);
first.setStyleName("gwt-TabBarFirst");
rest.setStyleName("gwt-TabBarRest");
first.setHeight("100%");
Expand Down