diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-26 12:02:57 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-26 12:02:57 +0100 |
commit | 57b0f4c5bde98ca9c0824c879a449e16b8849be4 (patch) | |
tree | f2028d69123f3f7164bfac3af904f36ad8ea9169 | |
parent | 866dffab8c4a67134190a26343a8ab20be8662b5 (diff) |
Fix a stupid fence-post error.
-rw-r--r-- | src/mulk/benki/wiki.clj | 2 |
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? "(" "") |