Skip to content

Commit 65d4ad1

Browse files
committed
Ensure we use setText() instead of setInnerText on MaterialSymbol.
1 parent cc02fa9 commit 65d4ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gwt-material/src/main/java/gwt/material/design/client/ui/MaterialSymbol.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected void onLoad() {
4141

4242
@Override
4343
public void setSymbol(String symbol) {
44-
span.getElement().setInnerText(symbol);
44+
span.setText(symbol);
4545
}
4646

4747
@Override

0 commit comments

Comments
 (0)