I was testing interweave, I found it really smart to have added emoticon detection (I think a default graphical set would make it twice more attractive). But this is not the topic:
search for the next '.' or ' ' (space) to consider the url is finished
url decode before displaying
Also newWindow shloud be an option of the matcher and not the entire tag in my opinion
Best regards
p.s: there's also an 'over detection' of urls as in the picture because the person who wrote the text didn't put a space after the point in "harm to you.It" so you.it is interpreted as a URL, I think since It is uppercase, we could detect that too
Hi,
I was testing interweave, I found it really smart to have added emoticon detection (I think a default graphical set would make it twice more attractive). But this is not the topic:
I have the following url in my text:
https://uk.blastingnews.com/food-and-wine/2016/08/here-is-why-eating-at-mcdonald-s-is-bad-for-health-001083227.html#:~:text=Their%20fast%20foo ds%20have%20excessive,obesity%2C%20and%20high%20blood%20pressure.
And only its start ( https://uk.blastingnews.com/food-and-wine/2016/08/here-is-why-eating-at-mcdonald-s-is-bad-for-health-001083227.html#) is interpreted as a url, the rest is a real mess in the text.
So I would recommend two improvements:
Also newWindow shloud be an option of the matcher and not the entire tag in my opinion
Best regards
p.s: there's also an 'over detection' of urls as in the picture because the person who wrote the text didn't put a space after the point in "harm to you.It" so you.it is interpreted as a URL, I think since It is uppercase, we could detect that too