From 5684a01feb1594f9434e3bc206733fc4874249cd Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Thu, 24 Nov 2011 15:33:48 +0100 Subject: Fix the wikilink generation fix. --- src/mulk/benki/wiki.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))) -- cgit v1.2.3