projects
/
geekigeeki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4def29
)
Highlighting search words when coming from a search engine is just annoying
author
Bernie Innocenti
<bernie@codewiz.org>
Sat, 15 Oct 2011 01:14:28 +0000
(21:14 -0400)
committer
Bernie Innocenti
<bernie@codewiz.org>
Sat, 15 Oct 2011 01:14:28 +0000
(21:14 -0400)
geekigeeki.py
patch
|
blob
|
history
diff --git
a/geekigeeki.py
b/geekigeeki.py
index 2dbf03b82674125d32d0ddedbdcb9e58224c2cf7..c0bb53e0eabdd0379dd27b5ec7570ff7ea264241 100755
(executable)
--- a/
geekigeeki.py
+++ b/
geekigeeki.py
@@
-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*\}\}\})