diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-11-24 15:33:48 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-11-24 15:33:48 +0100 |
commit | 5684a01feb1594f9434e3bc206733fc4874249cd (patch) | |
tree | 7f4051bab366f629351e7c0717af3492889aeac0 | |
parent | f4f2cbdbd1341b62195075288bb6e3dc8de43196 (diff) |
Fix the wikilink generation fix.
-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 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)))) |