Nofollow option in a button link block adds unnecessary space before the attribute #66300
Labels
[Block] Buttons
Affects the Buttons Block
[Status] In Progress
Tracking issues with work in progress
As reported here.
When users add a link in the button block and mark it as nofollow, the resulting HTML comment adds unnecessary space before the attribute.
Steps to reproduce
rel=" nofollow"
attribute has space before the stringI've checked some other blocks that have "rel" attribute enabled (e.g. custom link, social icons, title, featured image, image, media, and text) with the help of this list and found that it only affects the button block.
As a workaround, users can edit the button instances via the code editor view and make the necessary edits to the HTML code there.
Environment
Studio, Local
WP 6.6.2 with/without Gutenberg 19.4.0
WP 6.7-beta3 without Gutenberg
The text was updated successfully, but these errors were encountered: