delete inline data after it's used
parent
f937c1fb80
commit
42b6a6178c
|
@ -58,7 +58,9 @@ sub format (@) { #{{{
|
||||||
|
|
||||||
# Fill in the inline content generated earlier. This is actually an
|
# Fill in the inline content generated earlier. This is actually an
|
||||||
# optimisation.
|
# 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};
|
return $params{content};
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue