ignore script and style content (such as css and javascript) (#112)
This commit is contained in:
committed by
GitHub
parent
c7718b6d81
commit
60967c1c95
@@ -350,6 +350,12 @@ class MarkdownConverter(object):
|
||||
|
||||
return '\n```%s\n%s\n```\n' % (code_language, text)
|
||||
|
||||
def convert_script(self, el, text, convert_as_inline):
|
||||
return ''
|
||||
|
||||
def convert_style(self, el, text, convert_as_inline):
|
||||
return ''
|
||||
|
||||
convert_s = convert_del
|
||||
|
||||
convert_strong = convert_b
|
||||
|
||||
Reference in New Issue
Block a user