OSDN Git Service

BugTrack-wiki/334
authortakezoe <takezoe@users.osdn.me>
Sat, 2 Oct 2010 01:37:46 +0000 (01:37 +0000)
committertakezoe <takezoe@users.osdn.me>
Sat, 2 Oct 2010 01:37:46 +0000 (01:37 +0000)
lib/Wiki/Parser.pm

index a623077..5f41e88 100644 (file)
@@ -186,10 +186,10 @@ sub parse {
                                $self->{dd} .= substr($line,3);
                                next;
                        }
+                       if($self->{dt} ne "" || $self->{dd} ne ""){
+                               $self->multi_explanation;
+                       }
                        if(index($line,"::")==0){
-                               if($self->{dt} ne "" || $self->{dd} ne ""){
-                                       $self->multi_explanation;
-                               }
                                $self->{dt} = substr($line,2);
                                $self->{dl_flag} = 1;
                                next;