From 55ce859998ad1f34ae84175cbb322fd8ce498970 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 22 Feb 2011 14:48:53 -0800 Subject: fix documentation for ie --- docs/src/ngdoc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/src/ngdoc.js') diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 93d5c43e..2f59f044 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -77,12 +77,12 @@ Doc.prototype = { } else if (text.match(/^/)) { text = text.replace(/()([\s\S]*)(<\/doc:source>)/mi, function(_, before, content, after){ - return before + htmlEscape(content) + after; + return '
' + htmlEscape(content) + '
'; }); text = text.replace(/()([\s\S]*)(<\/doc:scenario>)/mi, function(_, before, content, after){ self.scenarios.push(content); - return before + htmlEscape(content) + after; + return '
' + htmlEscape(content) + '
'; }); } else { text = text.replace(//gm, '<angular/>'); -- cgit v1.2.3