diff --git a/docs/component-spec/errorLinkFilterSpec.js b/docs/component-spec/errorLinkFilterSpec.js
index 36f5f46b..1b3cbf73 100644
--- a/docs/component-spec/errorLinkFilterSpec.js
+++ b/docs/component-spec/errorLinkFilterSpec.js
@@ -13,7 +13,10 @@ describe("errorLinkFilter", function () {
});
it('should find links in text and linkify them', function () {
- expect(errorLinkFilter("http://ab/ (http://a/) http://1.2/v:~-123. c")).
+ var output = errorLinkFilter("http://ab/ (http://a/) http://1.2/v:~-123. c");
+ //temporary fix for IE8 sanitization whitespace bug
+ output = output.replace('(',' (');
+ expect(output).
toBe('http://ab/ ' +
'(http://a/) ' +
'http://1.2/v:~-123. c');
@@ -46,4 +49,4 @@ describe("errorLinkFilter", function () {
toBe('' +
'http://errors.angularjs.org/very-long-version-string/$inj...');
});
-});
\ No newline at end of file
+});