fix HyperText matching #405

Merged
mattn merged 1 commits from fix-url into main 2023-03-07 13:54:15 +00:00
mattn commented 2023-03-07 13:41:00 +00:00 (Migrated from github.com)

When the text is:

http-is-great!

splitByUrl return ["http-is-great!"] correctly but it always become hyper link since that does only checking only startsWith("http").

https://snort.social/e/note1dvng6smhrn5hxn8wcmyfutngusa7fqpxh93xnx8gal6w9ljjkjmss8qfu2

When the text is: ``` http-is-great! ``` splitByUrl return `["http-is-great!"]` correctly but it always become hyper link since that does only checking only startsWith("http"). https://snort.social/e/note1dvng6smhrn5hxn8wcmyfutngusa7fqpxh93xnx8gal6w9ljjkjmss8qfu2
v0l (Migrated from github.com) approved these changes 2023-03-07 13:50:49 +00:00
Sign in to join this conversation.
No description provided.