From: Alan Knowles Date: Fri, 11 Jan 2019 08:14:32 +0000 (+0800) Subject: docs2/Roo.docs.template.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=13b17fb4ea87e3fff1e1922806d70d0a5e98775b docs2/Roo.docs.template.js --- diff --git a/docs2/Roo.docs.template.js b/docs2/Roo.docs.template.js index 4f392a0c19..1e2e3b427a 100644 --- a/docs2/Roo.docs.template.js +++ b/docs2/Roo.docs.template.js @@ -434,8 +434,9 @@ Roo.docs.template = { summarize : function(desc) { if (typeof desc != "undefined") { - // finds the first fulls stop... - return desc.match(/([\w\W]+?[\.|:])[^a-z0-9]/i)? RegExp.$1.replace("\n", " ") : desc.split("\n")[0]; + // finds the first fulls stop... + return desc.match(/([\w\W]+?[\.|:])[^a-z0-9]/i)? + RegExp.$1.split('<')[0].replace("\n", " ") : desc.split("\n")[0]; } return ''; },