Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Better handling of links to subreddits #224

Closed
phobiac opened this Issue · 4 comments

2 participants

@phobiac

On the main website a subreddit name such as /r/test is turned into a link to www.reddit.com/r/test. Reddit is Fun seems to pick up that these are links, and displays them accordingly, but doesn't actually link to the subreddit in question. (They do not show up in the list of links when you long press on a comment)

@talklittle
Owner

breaking the youtu.be links bug out into issue #228

@talklittle
Owner

fixed

@talklittle talklittle closed this
@talklittle
Owner

still allows double linking e.g. if someone writes full URL http://www.reddit.com/r/test but that's ok because this way it also supports linking to subreddit in case of direct link to comment thread, like http://www.reddit.com/r/test/comments/o98h5/testing_links_to_other_subreddits_in_comments/

@talklittle
Owner

disregard previous comment; handle "double-linking" by keeping track of start-end ranges and disallow linking to overlapping links

@talklittle talklittle referenced this issue from a commit
@talklittle #224: Better handling of links to subreddits
fixed Markdown stuff and exception handling when getting
list of links per comment.
2eb5a11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.