mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Markdown Output: More code block handling fixes.
This commit is contained in:
parent
8a689cf3b6
commit
22e1a293cc
@ -156,7 +156,7 @@ class MarkdownMLizer(OEB2HTML):
|
|||||||
tags.append('>')
|
tags.append('>')
|
||||||
text.append('> ' * self.blockquotes)
|
text.append('> ' * self.blockquotes)
|
||||||
elif tag == 'code':
|
elif tag == 'code':
|
||||||
if not self.in_pre:
|
if not self.in_pre and not self.in_code:
|
||||||
text.append('`')
|
text.append('`')
|
||||||
tags.append('`')
|
tags.append('`')
|
||||||
self.in_code = True
|
self.in_code = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user