summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-11-24 15:33:48 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-11-24 15:33:48 +0100
commit5684a01feb1594f9434e3bc206733fc4874249cd (patch)
tree7f4051bab366f629351e7c0717af3492889aeac0 /src
parentf4f2cbdbd1341b62195075288bb6e3dc8de43196 (diff)
Fix the wikilink generation fix.
Diffstat (limited to 'src')
-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 a5dfcb5..15ec12e 100644
--- a/src/mulk/benki/wiki.clj
+++ b/src/mulk/benki/wiki.clj
@@ -35,7 +35,7 @@
(let [new-node (org.jsoup.nodes.Element.
(org.jsoup.parser.Tag/valueOf "span")
"")]
- (.html new-node (html-insert-wikilinks (.html node)))
+ (.html new-node (html-insert-wikilinks (.text subnode)))
(.replaceWith subnode new-node)
(.unwrap new-node))))
(-> doc (.select "body") (.html))))