Skip to content

Commit

Permalink
fix: Fix code decoding logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Souptik2001 authored Jul 26, 2024
1 parent 6c32ddd commit b22f467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/GutenbergParser/ParseBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const ParseBlock = ({blocks, depth, searchComponent, extra}) => {
break;
case 'core/html':
elements.push(
<span dangerouslySetInnerHTML={{ __html: he.decode(block.attributes.content) }} />
<span dangerouslySetInnerHTML={{ __html: block.attributes.content }} />
)
break;
default:
Expand Down

0 comments on commit b22f467

Please sign in to comment.