diff options
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 0002371c1..3edfbc531 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -58,7 +58,9 @@ sub format (@) { #{{{ # Fill in the inline content generated earlier. This is actually an # optimisation. - $params{content}=~s!<div class="inline" id="([^"]+)"></div>!$inline[$1]!g; + $params{content}=~s{<div class="inline" id="([^"]+)"></div>}{ + delete @inline[$1] + }eg; return $params{content}; } #}}} |