Markdown Output: More code block handling fixes.

This commit is contained in:
John Schember 2011-09-04 13:16:16 -04:00
parent 8a689cf3b6
commit 22e1a293cc

View File

@ -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