From ef22968810d555f78d3bbf7b5428757690c8cc70 Mon Sep 17 00:00:00 2001
From: Matias Niemelä
Date: Thu, 6 Jun 2013 01:28:50 -0400
Subject: feat(ngdocs): support popover, foldouts and foldover annotations
---
docs/src/dom.js | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(limited to 'docs/src/dom.js')
diff --git a/docs/src/dom.js b/docs/src/dom.js
index 94048120..897a1831 100644
--- a/docs/src/dom.js
+++ b/docs/src/dom.js
@@ -8,7 +8,12 @@ exports.htmlEscape = htmlEscape;
//////////////////////////////////////////////////////////
function htmlEscape(text){
- return text.replace(/&/g, '&').replace(//g, '>');
+ return text
+ .replace(/&/g, '&')
+ .replace(//g, '>')
+ .replace(/\{\{/g, '{{')
+ .replace(/\}\}/g, '}}');
}
--
cgit v1.2.3