work around perl warning
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 09:08:04 +0000 (05:08 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 21 Mar 2008 09:08:04 +0000 (05:08 -0400)
IkiWiki/Plugin/inline.pm

index 3edfbc5319662fa19b37291eac8363e89c4c16ff..9b2caffcfe690ec6788d409840766bcde0cdb038 100644 (file)
@@ -59,7 +59,7 @@ sub format (@) { #{{{
        # Fill in the inline content generated earlier. This is actually an
        # optimisation.
        $params{content}=~s{<div class="inline" id="([^"]+)"></div>}{
-               delete @inline[$1]
+               delete @inline[$1,]
        }eg;
        return $params{content};
 } #}}}