Skip to content

Commit 79df039

Browse files
committed
Added exception to codeblocks with recent change on setHTML api
1 parent 07b34ce commit 79df039

File tree

1 file changed

+5
-0
lines changed
  • gwt-material/src/main/java/gwt/material/design/client/ui/html

1 file changed

+5
-0
lines changed

gwt-material/src/main/java/gwt/material/design/client/ui/html/Pre.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,9 @@ public Pre(final String text) {
3636
this();
3737
setHTML(text);
3838
}
39+
40+
@Override
41+
public void setHTML(String html) {
42+
getElement().setInnerHTML(html);
43+
}
3944
}

0 commit comments

Comments
 (0)