| commit | 694e52aaf06079ff03470bec35b5470fd8c83d53 | [log] [tgz] |
|---|---|---|
| author | sbrubaker@google.com <sbrubaker@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed May 25 16:31:31 2011 +0000 |
| committer | sbrubaker@google.com <sbrubaker@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed May 25 16:31:31 2011 +0000 |
| tree | 5c3c760fb377288825dcd498a843151bf64a0592 | |
| parent | f2daf7727466bc71c04691e160b74271c9743ba3 [diff] |
Fix escaping issue with SafeHtml in Safari3 Review at http://gwt-code-reviews.appspot.com/1443806 Review by: rjrjr@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10225 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/uibinder/test/client/UiBinderTest.java b/user/test/com/google/gwt/uibinder/test/client/UiBinderTest.java index e1d2b20..f0a063f 100644 --- a/user/test/com/google/gwt/uibinder/test/client/UiBinderTest.java +++ b/user/test/com/google/gwt/uibinder/test/client/UiBinderTest.java
@@ -631,8 +631,8 @@ public void testUiTextWithSafeHtml() { assertEquals(widgetUi.htmlWithComputedSafeHtml.getHTML().toLowerCase(), "<b>this text should be bold!</b>"); - assertEquals(widgetUi.htmlWithComputedText.getHTML().toLowerCase(), - "<b>this text won't be bold!</b>"); + assertEquals(widgetUi.htmlWithComputedText.getHTML().toLowerCase() + .replaceAll(">", ">"), "<b>this text won't be bold!</b>"); assertEquals(widgetUi.labelWithComputedText.getText().toLowerCase(), "<b>this text won't be bold!</b>"); }