Fixed bug in URL formatting in Headline News
svn: r11725
This commit is contained in:
parent
4f32dea6bc
commit
6a26dce0b1
@ -989,7 +989,7 @@ class HeadlineNewsGramplet(Gramplet):
|
||||
matches = pattern.findall(text)
|
||||
for (g1, g2) in matches:
|
||||
text = text.replace("[[%s|%s]]" % (g1, g2),
|
||||
("""<A HREF="%s%s">%s</A>""" %
|
||||
("""<A HREF="%s">%s</A>""" %
|
||||
(self.wiki(g1), self.nice_title(g2))))
|
||||
### Internal wiki URL:
|
||||
pattern = re.compile('\[\[(.*?)\]\]')
|
||||
|
Loading…
Reference in New Issue
Block a user