Permalink
Browse files

Add comment about last change: fixing the regex is probably better (b…

…ut more difficult).

svn path=/plone.intelligenttext/trunk/; revision=18259
  • Loading branch information...
1 parent c4494bb commit 1c7104d77ecd06f7117bc58323cd29785f44348e @mauritsvanrees mauritsvanrees committed Dec 3, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 plone/intelligenttext/transforms.py
@@ -51,6 +51,7 @@ def replaceURL(match):
# Also with <some link> we should only link to some link, not
# including the brackets.
end = ''
+ # XXX Probably better to fix the regex above. Maurits
if url.endswith('&gt;'):
url = url[:-len('&gt;')]
linktext = linktext[:-len('&gt;')]

0 comments on commit 1c7104d

Please sign in to comment.