1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

remove unnecessary nesting

This commit is contained in:
Emanuil Rusev 2014-04-28 02:10:18 +03:00
parent cf7f32f891
commit eab3cbf255

View File

@ -916,8 +916,11 @@ class Parsedown
$Span = $this->$handler($markedExcerpt, $text); $Span = $this->$handler($markedExcerpt, $text);
if (isset($Span)) if ( ! isset($Span))
{ {
continue;
}
# The identified span can be ahead of the marker. # The identified span can be ahead of the marker.
if (isset($Span['position']) and $Span['position'] > $markerPosition) if (isset($Span['position']) and $Span['position'] > $markerPosition)
@ -946,7 +949,6 @@ class Parsedown
continue 2; continue 2;
} }
}
$remainder = substr($markedExcerpt, 1); $remainder = substr($markedExcerpt, 1);