textile / python-textile

A Python port of Textile, A humane web text generator
Other
68 stars 23 forks source link

Image markup incorrectly strips a dot character from URI #42

Closed jun66j5 closed 7 years ago

jun66j5 commented 7 years ago
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import textile
>>> textile.__version__
'2.3.10'
>>> textile.textile('!./path/to/image.png!')
u'\t<p><img alt="" src="/path/to/image.png" /></p>'
>>> textile.textile('!.image.png!')
u'\t<p><img alt="" src="image.png" /></p>'
>>> textile.textile('!./image.png!')
u'\t<p><img alt="" src="/image.png" /></p>'
jun66j5 commented 7 years ago

Thanks for the quick fix.

ikirudennis commented 7 years ago

Thanks for the clear bugtest. Version 2.3.11 is now available on PyPI.