This commit is contained in:
Kovid Goyal 2011-02-08 11:54:29 -07:00
commit 2aaf076422
2 changed files with 2 additions and 3 deletions

View File

@ -41,7 +41,6 @@ class TextileMLizer(object):
html = re.sub(r'<\s*img[^>]*>', '', html)
text = html2textile(html)
text = text.replace('%', '')
# Ensure the section ends with at least two new line characters.
# This is to prevent the last paragraph from a section being

View File

@ -77,7 +77,7 @@ class EchoTarget:
new_tag = '~'
newline = ''
elif tag == 'span':
new_tag = '%'
new_tag = ''
newline = ''
elif tag == 'a':
self.block = True
@ -147,7 +147,7 @@ class EchoTarget:
elif tag == 'sub':
self.final_output.append('~')
elif tag == 'span':
self.final_output.append('%')
self.final_output.append('')
elif tag == 'a':
if self.a_part['title']:
textilized = ' "%s (%s)":%s ' % (