From 71c2f24fc64e8d38089ac9476d05e01baf448879 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 16 Nov 2010 17:02:04 -0800 Subject: remove extra toolbar directive and support multiple pre's in describe --- docs/collect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/collect.js') diff --git a/docs/collect.js b/docs/collect.js index 4665133d..30597862 100644 --- a/docs/collect.js +++ b/docs/collect.js @@ -142,12 +142,12 @@ function escapedHtmlTag(doc, name, value) { function markdownTag(doc, name, value) { doc[name] = markdown(value.replace(/^#/gm, '##')). - replace(/\
/gmi, ''). + replace(/\/gmi, ''); } function markdown(text) { - var parts = text.split(/('). replace(/\<\/pre\>/gmi, '[\s\S]*<\/pre>)/); + var parts = text.split(/([\s\S]*?<\/pre>)/); parts.forEach(function(text, i){ if (!text.match(/^/)) { text = text.replace(//gm, '<angular/>'); -- cgit v1.2.3