Skip to content

Commit f198fa4

Browse files
authored
Merge branch 'master' into richard/i18n-1
2 parents de0d8d6 + e5f1472 commit f198fa4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commons/sideContent/__tests__/__snapshots__/SideContentHtmlDisplay.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`HTML Display renders correctly 1`] = `
55
className="sa-html-display"
66
sandbox="allow-scripts"
77
src="about:blank"
8-
srcDoc="<p>Hello World!</p>"
8+
srcDoc=""<p>Hello World!</p>""
99
title="HTML Display"
1010
/>
1111
`;

src/commons/sideContent/content/SideContentHtmlDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const SideContentHtmlDisplayBase: React.FC<OwnProps & DispatchProps> = props =>
5050
className="sa-html-display"
5151
title={t('title')}
5252
sandbox="allow-scripts"
53-
srcDoc={JSON.parse(content)}
53+
srcDoc={content}
5454
src="about:blank"
5555
/>
5656
);

0 commit comments

Comments
 (0)