Skip to content

Commit

Permalink
Fix: Add rel="tag" to individual anchor links in editor markup of t…
Browse files Browse the repository at this point in the history
…he post terms block (#68722)

Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
  • Loading branch information
3 people authored Jan 17, 2025
1 parent 064b879 commit 4b60f9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/post-terms/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export default function PostTermsEdit( {
key={ postTerm.id }
href={ postTerm.link }
onClick={ ( event ) => event.preventDefault() }
rel="tag"
>
{ decodeEntities( postTerm.name ) }
</a>
Expand Down

0 comments on commit 4b60f9e

Please sign in to comment.