From c2b4885c149a1d442da0e67d84ef2c453d4aaa23 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 Jul 2011 16:21:34 +0800 Subject: [PATCH] ux/Showdown.js --- ux/Showdown.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ux/Showdown.js b/ux/Showdown.js index e569e0f347..2d1f75cf5a 100644 --- a/ux/Showdown.js +++ b/ux/Showdown.js @@ -87,14 +87,14 @@ Roo.ux.Showdown.converter = function() { var g_list_level = 0; - this.makeHtml = function(text) { + this.makeHtml = function(_text) { // // Main function. The order in which other subs are called here is // essential. Link and image substitutions need to happen before // _EscapeSpecialCharsWithinTagAttributes(), so that any *'s or _'s in the // and tags get encoded. - // - + //v + var text = _text; // Clear the global hashes. If we don't clear these, you get conflicts // from other articles when generating a page which contains more than // one article (e.g. an index page that shows the N most recent -- 2.39.2