ParserException in case of "-" characters
gaborg opened this issue · 3 comments
gaborg commented
Hi,
I have just realized that "-" characters are not handled correctly if they are in path strings. The example below leads to a ParserException:
![id](path/to/my-photo.png)
But the same is true about links.
lruiz commented
fixed on v1.2.1, it should be available throught maven central repository, today.
orefalo commented
great
saper commented
At my place, the inlineUrls test fails with
Running org.tautua.markdownpapers.MarkdownPapersTest
Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.62 sec <<< FAILURE! - in org.tautua.markdownpapers.MarkdownPapersTest
execute[16](org.tautua.markdownpapers.MarkdownPapersTest) Time elapsed: 0.002 sec <<< FAILURE!
junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'http://domain.com/path?p1=v1&p2;=v2' but was 'http://domain.com/path?p1=v1&p2=v2' - comparing <a href="http://domain.com/path?p1=v1&p2;=v2"...> at /html[1]/body[1]/p[1]/a[4]/@href to <a href="http://domain.com/path?p1=v1&p2=v2"...> at /html[1]/body[1]/p[1]/a[4]/@href
This happens with any commit above 84e9939 where this was introduced.