From 7eda69e8aa3b6b3f485fcd1810c20b3baf46f26e Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Fri, 14 Feb 2014 01:27:40 +0000
Subject: [PATCH] Only link Token.Name.Class

---
 i2p2www/formatters.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/i2p2www/formatters.py b/i2p2www/formatters.py
index 598269f5b..8b915b252 100644
--- a/i2p2www/formatters.py
+++ b/i2p2www/formatters.py
@@ -713,7 +713,7 @@ class I2PHtmlFormatter(Formatter):
 
             parts = value.translate(escape_table).split('\n')
 
-            if tagsfile and ttype in Token.Name:
+            if tagsfile and ttype in Token.Name.Class:
                 filename, kind = self._lookup_ctag(value)
                 if kind:
                     base, filename = os.path.split(filename)
-- 
GitLab