Skip to content

Commit

Permalink
Site Editor: Decode the site title properly
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 10, 2023
1 parent 8227969 commit 0dc2fae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/edit-site/src/components/site-hub/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { __ } from '@wordpress/i18n';
import { store as blockEditorStore } from '@wordpress/block-editor';
import { store as coreStore } from '@wordpress/core-data';
import { forwardRef } from '@wordpress/element';
import { decodeEntities } from '@wordpress/html-entities';

/**
* Internal dependencies
Expand Down Expand Up @@ -96,7 +97,7 @@ const SiteHub = forwardRef( ( props, ref ) => {

{ showLabels && (
<div className="edit-site-site-hub__site-title">
{ siteTitle }
{ decodeEntities( siteTitle ) }
</div>
) }
</HStack>
Expand Down

0 comments on commit 0dc2fae

Please sign in to comment.