Highlighting search words when coming from a search engine is just annoying
authorBernie Innocenti <bernie@codewiz.org>
Sat, 15 Oct 2011 01:14:28 +0000 (21:14 -0400)
committerBernie Innocenti <bernie@codewiz.org>
Sat, 15 Oct 2011 01:14:28 +0000 (21:14 -0400)
geekigeeki.py

index 2dbf03b82674125d32d0ddedbdcb9e58224c2cf7..c0bb53e0eabdd0379dd27b5ec7570ff7ea264241 100755 (executable)
@@ -494,8 +494,6 @@ class WikiFormatter:
             | (?P<tr>    ^\s*\|\|(=|)\s*)
             | (?P<tre>   \s*\|\|(=|)\s*$)
             | (?P<td>    \s*\|\|(=|)\s*)
-
-            # TODO: highlight search words (look at referrer)
           )""", re.VERBOSE)
         pre_re = re.compile("""(?:
               (?P<pre>\s*\}\}\})