Show More
@@ -66,11 +66,11 b' class ReflinkPattern(Pattern):' | |||
|
66 | 66 | |
|
67 | 67 | post = posts[0] |
|
68 | 68 | if not post.is_opening(): |
|
69 |
link = reverse( |
|
|
69 | link = reverse('thread', kwargs={ | |
|
70 | 70 | 'post_id': post.thread_new.get_opening_post().id})\ |
|
71 | 71 | + '#' + post_id |
|
72 | 72 | else: |
|
73 |
link = reverse( |
|
|
73 | link = reverse('thread', kwargs={'post_id': post_id}) | |
|
74 | 74 | |
|
75 | 75 | ref_element.set('href', link) |
|
76 | 76 | ref_element.text = m.group(2) |
General Comments 0
You need to be logged in to leave comments.
Login now