diff --git a/components/post-primary-term/index.tsx b/components/post-primary-term/index.tsx index c2900226..af287fd7 100644 --- a/components/post-primary-term/index.tsx +++ b/components/post-primary-term/index.tsx @@ -1,4 +1,5 @@ import { __ } from '@wordpress/i18n'; +import { decodeEntities } from '@wordpress/html-entities'; import { usePrimaryTerm } from '../../hooks'; interface PostPrimaryTermProps { @@ -50,5 +51,5 @@ export const PostPrimaryTerm = ({ wrapperProps.href = termUrl; } - return {termString}; + return {decodeEntities(termString)}; };