Skip to content

Commit

Permalink
Better variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Jan 30, 2024
1 parent 2e60e0e commit d74a2d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ public static function build_html5_treelike_string( $fragment_context, $html ) {

$indent_level = count( $p->get_breadcrumbs() );

$t = strtolower( $p->get_tag() );
$output .= str_repeat( $indent, $indent_level - 1 ) . "<{$t}>\n";
$tag_name = strtolower( $p->get_tag() );
$output .= str_repeat( $indent, $indent_level - 1 ) . "<{$tag_name}>\n";

$attribute_names = $p->get_attribute_names_with_prefix( '' );
if ( $attribute_names ) {
Expand Down

0 comments on commit d74a2d6

Please sign in to comment.