Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add comment about span-wrapping
  • Loading branch information
WunderBart committed Jan 21, 2020
commit 69778ae5fd0d93f3ed9c041efdba70f1dd14034a
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function build_navigation_html( $attributes, $block, $colors, $font_sizes, $is_l
// End appending HTML attributes to anchor tag.

// Start anchor tag content.
$html .= '><span>';
$html .= '><span>'; // Wrap title with span to isolate it from submenu icon.
if ( isset( $block['attrs']['label'] ) ) {
$html .= wp_kses(
$block['attrs']['label'],
Expand Down