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

Format mardown link properly #14

Open
gpollo opened this issue Aug 10, 2016 · 0 comments
Open

Format mardown link properly #14

gpollo opened this issue Aug 10, 2016 · 0 comments

Comments

@gpollo
Copy link
Contributor

gpollo commented Aug 10, 2016

Right now, a username is detected if the first character of a work in the tweet starts by the "at" (@) symbol. It stops the reading of the username when the first non alphanumeric/underscore (_) character is found.

Which means that This is a @username. is going to be formatted as This is a @[username](https://twitter.com/username)., with the dot at the end.

The current implementation doesn't support a user reference that doesn't start with an "at". For exemple Weird dot .@username is going to be Weird dot .@username.

We should make sure that #13 doesn't have the same problem.

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