Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Aug 6, 2024
1 parent e1d4f3e commit 93a4cc6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/class-block-converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,6 @@ protected function blockquote( DOMNode $node ): ?Block {
* @return Block|null
*/
protected function p( DOMNode $node ): ?Block {
// Account for some specific edge cases.
// Use case 1: image wrapped with an anchor tag. This should be converted to an image block.
if ( $this->is_anchor_wrapped_image( $node ) ) {
return $this->img( $node );
}
Expand Down

0 comments on commit 93a4cc6

Please sign in to comment.