From 1c7104d77ecd06f7117bc58323cd29785f44348e Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Mon, 3 Dec 2007 23:09:29 +0000 Subject: [PATCH] Add comment about last change: fixing the regex is probably better (but more difficult). svn path=/plone.intelligenttext/trunk/; revision=18259 --- plone/intelligenttext/transforms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plone/intelligenttext/transforms.py b/plone/intelligenttext/transforms.py index 2aa8144..6c38e49 100644 --- a/plone/intelligenttext/transforms.py +++ b/plone/intelligenttext/transforms.py @@ -51,6 +51,7 @@ def replaceURL(match): # Also with we should only link to some link, not # including the brackets. end = '' + # XXX Probably better to fix the regex above. Maurits if url.endswith('>'): url = url[:-len('>')] linktext = linktext[:-len('>')]