Open EsteveAguilera opened 3 years ago
The text ...and is parsed as an URL while the text ..and is not.
...and
..and
Test to reproduce it:
expectListEqual( linkify("...and", options: LinkifyOptions(looseUrl: true)), [TextElement('...and')], );
Output: Expected [LinkElement: 'http://...and' (...and)] to be [TextElement: '...and']
Expected [LinkElement: 'http://...and' (...and)] to be [TextElement: '...and']
This test runs ok:
expectListEqual( linkify("..and", options: LinkifyOptions(looseUrl: true)), [TextElement('..and')], );
The text
...and
is parsed as an URL while the text..and
is not.Test to reproduce it:
Output:
Expected [LinkElement: 'http://...and' (...and)] to be [TextElement: '...and']
This test runs ok: