Skip to content

Commit

Permalink
Merge branch 'master' into release_2.5.0_rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
kevzlou7979 committed Feb 24, 2021
2 parents b4c2e7c + c678b8e commit c8915fc
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -54,6 +54,7 @@ protected void runTest(TextMixin<MaterialLabel> mixin) {
mixin.setText("<script>alert('xss')</script>");
assertEquals("<script>alert('xss')</script>", mixin.getText());


// Test setText(SafeHtml)
String anchorTag = "<a>test</a>";
SafeHtmlBuilder builder = new SafeHtmlBuilder();
Expand Down

0 comments on commit c8915fc

Please sign in to comment.