timothystone/textile4j — Issue #2: Fix RegEx to handle periods found at EOL
Author: timothystone
Created: 2011-11-12 15:26:32+00:00
State: open

There are 126 unit tests in the textile4j library. 35 are currently failing due to a RegEx replacement pattern including a full stop (period) found at the end of a URL. For example

testLinksSyntax31(net.sf.textile4j.TextileTest): expected:<..."http://example.com/[" title="">link.]

> but was:<..."http://example.com/[." title="">link]

>

Note the period being included within the HREF attribute (generating a bad A element).