Support » Fixing WordPress » A Minor Gutenberg Hyperlink Bug

  • Resolved linux4me2

    (@linux4me2)


    I think I found a minor bug in the Gutenberg editor. To reproduce it, add a new post and in a paragraph block, type or paste the following paragraph:

    
    Here's a simple paragraph containing a link, but also with a sentence that includes an > arrow > or two.
    

    Preview the post, and you’ll see it looks fine. Next, add a hyperlink to the word, “link”, set it to open in a new tab, and save the hyperlink.

    Preview the post again, and only the first part of the paragraph, before the link, is displayed:

    Here’s a simple paragraph containing a

    I’ve tried this on a couple of sites, including a test site with no plugins running TwentyNineteen, and it’s reproducible.

    It’s the “>” in combination with a hyperlink that opens in a new tab that are required to mess up the output and cause the issue. You can accomplish the same with an “->” as with an “>”.

    I know, just don’t use a hyperlink that opens in a new tab with an “>” or “->”, but those characters are useful when giving someone instructions on walking through menus for things like, well, WordPress.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.