Permalink
Browse files

Don't autolink /R/subreddit.

  • Loading branch information...
1 parent 02e5146 commit 0e2e28d1df712b7b1190c793789300672dab6f3f @rram rram committed with spladug Feb 26, 2013
Showing with 4 additions and 1 deletion.
  1. +1 −1 src/autolink.c
  2. +3 −0 test_snudown.py
View
@@ -306,7 +306,7 @@ sd_autolink__subreddit(size_t *rewind_p, struct buf *link, uint8_t *data, size_t
return 0;
/* make sure this / is part of /r/ */
- if (strncasecmp((char*)data, "/r/", 3) != 0)
+ if (strncmp((char*)data, "/r/", 3) != 0)
return 0;
link_end = strlen("/r/");
View
@@ -136,6 +136,9 @@
'/r/notall-minus':
'<p><a href="/r/notall">/r/notall</a>-minus</p>\n',
+
+ '/R/reddit.com':
+ '<p>/R/reddit.com</p>\n',
}

0 comments on commit 0e2e28d

Please sign in to comment.