summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mulk/benki/wiki.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mulk/benki/wiki.clj b/src/mulk/benki/wiki.clj
index 27a7c00..8501d83 100644
--- a/src/mulk/benki/wiki.clj
+++ b/src/mulk/benki/wiki.clj
@@ -47,7 +47,7 @@
(fn [x]
(let [parens? (and (.startsWith x "(") (.endsWith x ")"))
uri (if parens?
- (subs x 1 (- (count x) 2))
+ (subs x 1 (- (count x) 1))
x)]
(fmt nil "~a<a href=\"~a\" class=\"benkiautohref\">~a</a>~a"
(if parens? "(" "")