Skip to content

Commit

Permalink
Add comment about last change: fixing the regex is probably better (b…
Browse files Browse the repository at this point in the history
…ut more difficult).

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

0 comments on commit 1c7104d

Please sign in to comment.