1. Ben Bangert
  2. WebHelpers
Issue #69 new

auto_link fail to match consecutive links separated by lines

Edwin Chu
created an issue

{{{

from webhelpers.html.tools import * auto_link("http://yahoo.com") literal(u'<a href="http://yahoo.com">http://yahoo.com</a>') auto_link("http://google.com\nhttp://twitter.com\nhttp://facebook.com") literal(u'<a href="http://google.com">http://google.com</a>\nhttp://twitter.com\n<a href="http://facebook.com">http://facebook.com</a>') }}}

The twitter.com link in the above example is not converted to anchor tag as expected.

Comments (1)

  1. Log in to comment