Skip to content

Commit 792a6c4

Browse files
authored
minor fix
in some instances closeTag function doesn't really update the state of openedTags when a tag is closed or deleted.
1 parent 836f12a commit 792a6c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Html/HtmlFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ protected function CloseTag($tag)
431431
}
432432
} else {
433433
$this->output .= "</{$tag}>";
434-
$this->openedTags[$tag] = false;
435434
}
435+
$this->openedTags[$tag] = false;
436436
}
437437
}
438438

0 commit comments

Comments
 (0)