X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/0b9e849aba38f0695491ad5ca27de11632627ffe..18b3e970ffcc0f74d68538b7094f76442a294609:/IkiWiki/Plugin/smiley.pm diff --git a/IkiWiki/Plugin/smiley.pm b/IkiWiki/Plugin/smiley.pm index a8fed69e1..51b32b28f 100644 --- a/IkiWiki/Plugin/smiley.pm +++ b/IkiWiki/Plugin/smiley.pm @@ -76,7 +76,7 @@ MATCH: while (m{(?:^|(?<=\s|>))(\\?)$smiley_regexp(?:(?=\s|<)|$)}g) { else { # Replace the smiley with its expanded value. substr($_, $spos, length($smiley))= - htmllink($params{page}, $params{page}, + htmllink($params{page}, $params{destpage}, $smileys{$smiley}, linktext => $smiley); } }