From 36c45f7ad809c0a6033a0730bd71da23ddc5fc96 Mon Sep 17 00:00:00 2001 From: liangliangyy Date: Thu, 19 Jan 2017 16:08:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DjangoBlog/utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/DjangoBlog/utils.py b/DjangoBlog/utils.py index a075d2b..ee75dfe 100644 --- a/DjangoBlog/utils.py +++ b/DjangoBlog/utils.py @@ -62,9 +62,6 @@ def block_code(text, lang, inlinestyles=False, linenos=False): class BlogMarkDownRenderer(mistune.Renderer): - def image(self, src, title, text): - html = super.im - def block_code(self, text, lang): # renderer has an options inlinestyles = self.options.get('inlinestyles')