You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>>importtextile>>>textile.__version__'2.2.2'>>>fromtextileimporttextile>>>r=textile('''\... This is a link to a \... ["Wikipedia article about Textile":http://en.wikipedia.org/wiki/Textile_(markup_language)].... ''')
Traceback (mostrecentcalllast):
File"<stdin>", line4, in<module>File"c:\Python27\lib\site-packages\textile\core.py", line1661, intextilehead_offset=head_offset)
File"c:\Python27\lib\site-packages\textile\core.py", line267, inparsetext=self.block(text, int(head_offset))
File"c:\Python27\lib\site-packages\textile\core.py", line780, inblockcite, line)
File"c:\Python27\lib\site-packages\textile\core.py", line913, infBlockcontent=self.graf(content)
File"c:\Python27\lib\site-packages\textile\core.py", line1105, ingraftext=self.links(text)
File"c:\Python27\lib\site-packages\textile\core.py", line1160, inlinkstext=re.compile(pattern, re.X|re.U).sub(self.fLink, text)
File"c:\Python27\lib\site-packages\textile\core.py", line1203, infLinkout=''.join([pre, out, post, tail])
TypeError: sequenceitem3: expectedstringorUnicode, NoneTypefound>>>
I don't know what is Textile 2.5 which is mentioned at TODO.textile, but this spec is at least 8 years old, so python-textile may have to render this correctly, or at least it should not stop render by Exception but should ignore this markup.
The text was updated successfully, but these errors were encountered:
See spec(20 May 2009).
I don't know what is
Textile 2.5
which is mentioned at TODO.textile, but this spec is at least 8 years old, so python-textile may have to render this correctly, or at least it should not stop render by Exception but should ignore this markup.The text was updated successfully, but these errors were encountered: