projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98095cc
)
avoid creole parsing wikilinks
author
Joey Hess
<joey@kodama.kitenet.net>
Thu, 19 Jun 2008 23:54:46 +0000
(19:54 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Thu, 19 Jun 2008 23:54:46 +0000
(19:54 -0400)
ikiwiki already does, and escaped links should not be processed by creole
after ikiwiki de-escapes them
IkiWiki/Plugin/creole.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/creole.pm
b/IkiWiki/Plugin/creole.pm
index f7f7a61e3dd369821c00200281016df557b69552..a259f49ebe386225f982ac30e04d0c3eb5c73015 100644
(file)
--- a/
IkiWiki/Plugin/creole.pm
+++ b/
IkiWiki/Plugin/creole.pm
@@
-17,7
+17,12
@@
sub htmlize (@) { #{{{
eval q{use Text::WikiCreole};
return $content if $@;
- return Text::WikiCreole::creole_parse($content);
+
+ # don't parse WikiLinks, ikiwiki already does
+ creole_link(sub { return shift });
+ creole_customlinks();
+
+ return creole_parse($content);
} # }}}
1