Show More
@@ -9,7 +9,7 import boards | |||||
9 | __author__ = 'neko259' |
|
9 | __author__ = 'neko259' | |
10 |
|
10 | |||
11 |
|
11 | |||
12 | REFLINK_PATTERN = re.compile(r'\d+') |
|
12 | REFLINK_PATTERN = re.compile(r'^\d+$') | |
13 | MULTI_NEWLINES_PATTERN = re.compile(r'(\r?\n){2,}') |
|
13 | MULTI_NEWLINES_PATTERN = re.compile(r'(\r?\n){2,}') | |
14 | ONE_NEWLINE = '\n' |
|
14 | ONE_NEWLINE = '\n' | |
15 |
|
15 | |||
@@ -124,7 +124,7 def render_reflink(tag_name, value, opti | |||||
124 | if posts.exists(): |
|
124 | if posts.exists(): | |
125 | post = posts[0] |
|
125 | post = posts[0] | |
126 |
|
126 | |||
127 | return u'<a href=%s>>>%s</a>' % (post.get_url(), post_id) |
|
127 | return u'<a href="%s">>>%s</a>' % (post.get_url(), post_id) | |
128 | else: |
|
128 | else: | |
129 | return u'>>%s' % value |
|
129 | return u'>>%s' % value | |
130 |
|
130 |
General Comments 0
You need to be logged in to leave comments.
Login now