Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed comment in Mojo::DOM::HTML
  • Loading branch information
kraih committed Sep 17, 2013
1 parent bdff872 commit 622d37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/DOM/HTML.pm
Expand Up @@ -177,7 +177,7 @@ sub _end {
# Right tag
++$found and last if $next->[1] eq $end;

# Elements with text-level semantics can only cross similar elements
# Phrasing content can only cross phrasing content
return if !$self->xml && $PHRASING{$end} && !$PHRASING{$next->[1]};

$next = $next->[3];
Expand Down

0 comments on commit 622d37f

Please sign in to comment.