]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/smiley.pm
meta plugin: if uuid looks like it is in fact a UUID, prepend "urn:uuid" (otherwise...
[git.ikiwiki.info.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);
                }
        }