[Python-modules-team] Bug#481808: python-textile doesn't follow the spec for <code></code>

Andreas Moog andreas.moog at warperbbs.de
Sat Jul 1 16:10:33 UTC 2017


Control: tags -1 moreinfo unreproducible

On Sun, May 18, 2008 at 07:36:04PM +0200, Romain Beauxis wrote:

> Precisely states that " and ' should not be touched inside the
> <code></code>.
> 
> When processing text files with python-textile, this is not the case,
> and they are replace by html special characters.

Going through old bugs, I can't seem to reproduce this:

Python 2.7.13 (default, Jan 19 2017, 14:48:08) 

>>> import textile
>>> text="""<code>'1"2"3'</code>123'1"2"3'"""
>>> textile.textile(text)
u'\t<p><code>\'1"2"3\'</code>123’1“2“3’</p>'
>>> 

I tried also with the version in old-old-stable (1:2.1.4-1) and couldn't 
reproduce there as well. Can you confirm that this has been fixed or can you 
provide a testcase showing the problem?

Thanks.
-- 
PGP-encrypted mails preferred
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170701/494b8647/attachment.sig>


More information about the Python-modules-team mailing list