From 039a182753cae7dbb0938acedbbf945b63ea0427 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 21 Feb 2013 10:08:35 -0800 Subject: Work around news link color --- _news_colors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_news_colors.py b/_news_colors.py index 16318fd..8b0c00b 100644 --- a/_news_colors.py +++ b/_news_colors.py @@ -110,7 +110,8 @@ class TxtLink(object): def __init__(self, stack): self.stack = stack def __format__(self, target): - return '@@{link}|{text}@@'.format(link=target, text=target) + # the field labeled 'bug' should not be necessary ... + return '@@{link}|{text}@@{bug}'.format(link=target, text=target, bug=self.stack[-1]) class TxtSignature(object): __slots__ = ('stack') -- cgit v1.2.3-70-g09d2