Skip to content

Commit

Permalink
Merge pull request #7797 from TheRealJon/1905416
Browse files Browse the repository at this point in the history
Bug 1905416: Fix sandboxed links in MarkdownView iframe
  • Loading branch information
openshift-merge-robot committed Jan 22, 2021
2 parents 6c8c292 + df568bf commit c2f17df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/public/components/markdown-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class SyncMarkdownView extends React.Component<SyncMarkdownProps, State>
return (
<>
<iframe
sandbox="allow-popups allow-same-origin"
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin"
srcDoc={contents}
style={{ border: '0px', display: 'block', width: '100%', height: '0' }}
ref={(r) => (this.frame = r)}
Expand Down

0 comments on commit c2f17df

Please sign in to comment.