Skip to content

Commit

Permalink
Manuscript is a block
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarvelle committed Dec 12, 2024
1 parent 7bf31cb commit b6e23cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ndla-ui/src/Embed/AudioEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const AudioEmbed = ({ embed, lang }: Props) => {
src={data.audioFile.url}
textVersion={
data.manuscript?.manuscript.length ? (
<span dangerouslySetInnerHTML={{ __html: data.manuscript.manuscript }} />
<div dangerouslySetInnerHTML={{ __html: data.manuscript.manuscript }} />
) : undefined
}
title={data.title.title}
Expand Down

0 comments on commit b6e23cd

Please sign in to comment.