Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linkifier incorrectly composing links (w/ example) #51

Closed
julianlam opened this issue Oct 22, 2014 · 1 comment
Closed

Linkifier incorrectly composing links (w/ example) #51

julianlam opened this issue Oct 22, 2014 · 1 comment

Comments

@julianlam
Copy link
Contributor

Hard for me to actually determine why this is happening, but I am seeing Remarkable not compose a detected link properly.

The problematic string is: (www.example.org版权所有,如需转载,注明出处)

After being parsed by Remarkable, the resulting output is:

<p>(www.example.org版权所有,如需转载,注明出处<a href="http://www.example.org">http://www.example.org</a>如需转载,注明出处)</p>

Please note the repeated text.

I have determined that the problem does not lie with Autolinker:

> autolinker.link('(www.example.org版权所有,如需转载,注明出处)')
'(<a href="http://www.example.org" target="_blank">example.org</a>版权所有,如需转载,注明出处)'

P.S. For ease of debugging, this also happens w/ Latin characters: (www.example.orgabcabc, defdef, ghighi)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant