]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/smiley.pm
Merge branch 'master' of git://git.ikiwiki.info
[ikiwiki.git] / IkiWiki / Plugin / smiley.pm
index a8fed69e1ba12a021682a1d1e2b247b8e4c54e44..51b32b28fa1a1a18823ef3fed6206b53c8faffb3 100644 (file)
@@ -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);
                }
        }