You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently we found a strange behavior with existing links. It looks like anchorme has trouble to recognize links which use the same domain in the url and as a label:
1) recognizes existing link <a href="https://www.foo.de/lala/">bar.de</a>
2) recognizes existing link too <a href="https://www.foo.de/lala/">www.foo.de/test</a>
a) not working <a href="https://www.foo.de/lala/">foo.de</a>
b) not working either <a href="https://www.foo.de/lala/">www.foo.de</a>
<div id="output" style="white-space: pre-line;">
1) recognizes existing link <a href="https://www.foo.de/lala/">bar.de</a>
2) recognizes existing link too <a href="https://www.foo.de/lala/">www.foo.de/test</a>
a) not working <a href="https://www.foo.de/lala/"></a><a class="detected" title="[{'start':0,
'end':6,
'string':'foo.de',
'isURL':true,
'host':'foo.de',
'confirmedByProtocol':false}]" href="http://foo.de">foo.de</a>
b) not working either <a href="https://www.foo.de/lala/"></a><a class="detected" title="[{'start':0,
'end':10,
'string':'www.foo.de',
'isURL':true,
'host':'www.foo.de',
'confirmedByProtocol':false}]" href="http://www.foo.de">www.foo.de</a></div>
The only difference between the working and not working examples is the text which is surrounded by the link.
Recently we found a strange behavior with existing links. It looks like anchorme has trouble to recognize links which use the same domain in the url and as a label:
The only difference between the working and not working examples is the text which is surrounded by the link.
Thanks for your library it is very convenient to use and very helpful :)
Regards,
moek
The text was updated successfully, but these errors were encountered: