From da52126a4279511d3080d2c9680d2f00bfd7624c Mon Sep 17 00:00:00 2001 From: joyqi Date: Fri, 25 Oct 2013 09:38:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=80=E4=B8=AAhook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/js/markdown.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/js/markdown.js b/admin/js/markdown.js index 8a6708d4..d745bbd5 100644 --- a/admin/js/markdown.js +++ b/admin/js/markdown.js @@ -155,6 +155,9 @@ this.makeHtml = function(text) { g_titles = {}; g_html_blocks = []; + if (self.preConversion) { + text = self.preConversion(text); + } // attacklab: Replace ~ with ~T // This lets us use tilde as an escape char to avoid md5 hashes