OSDN Git Service

BugTrack-wiki/340 : 不完全なブロックプラグインでループする
authorkgsoft <kgsoft@users.osdn.me>
Fri, 8 Dec 2017 11:39:43 +0000 (11:39 +0000)
committerkgsoft <kgsoft@users.osdn.me>
Fri, 8 Dec 2017 11:39:43 +0000 (11:39 +0000)
lib/Wiki/Parser.pm

index e10c074..285c20d 100644 (file)
@@ -238,8 +238,9 @@ sub parse {
        
        # ¥Ñ¡¼¥¹Ãæ¤Î¥Ö¥í¥Ã¥¯¥×¥é¥°¥¤¥ó¤¬¤¢¤Ã¤¿¾ì¹ç¡¢¤È¤ê¤¢¤¨¤ºÉ¾²Á¤·¤Æ¤ª¤¯¡©
        if($self->{block}){
-               $self->l_plugin($self->{block});
+               my $plugin = $self->{block};
                delete($self->{block});
+               $self->l_plugin($plugin);
        }
        
        $self->end_parse;