From 5295803fc795cb0a1cc3dc8d1c35925f0505b057 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Fri, 19 Oct 2012 22:07:42 -0700 Subject: [PATCH] replace all types of line endings --- plugins/escapeHtml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/escapeHtml.js b/plugins/escapeHtml.js index 925bbede..d77c2629 100644 --- a/plugins/escapeHtml.js +++ b/plugins/escapeHtml.js @@ -15,7 +15,7 @@ exports.handlers = { e.doclet.description = e.doclet.description .replace(/&/g,'&') .replace(/'); + .replace(/\r\n|\n|\r/g, '
'); } } };