Skip to content

Commit

Permalink
Merge pull request #2655 from NDLANO/div-for-manuscript
Browse files Browse the repository at this point in the history
Manuscript is a block
  • Loading branch information
gunnarvelle authored Dec 12, 2024
2 parents 7bf31cb + b6e23cd commit 578d74d
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 578d74d

Please sign in to comment.