Fix parsing quotelinks in threads with slugs.

Fix #1577
Fix #1580
Fix #1589
Close #1598
This commit is contained in:
Mayhem 2014-04-30 09:11:38 +02:00
parent ad8610b522
commit 9d4a7441e3

View File

@ -98,8 +98,9 @@ class Post
return unless match = quotelink.href.match /// return unless match = quotelink.href.match ///
boards\.4chan\.org/ boards\.4chan\.org/
([^/]+) # boardID ([^/]+) # boardID
/thread/\d+#p /thread/\d+
(\d+) # postID .* # thread slug
\#p(\d+) # postID
$ $
/// ///