Commit 150e68f2 by SweenyYang Committed by GitHub

Fixed the issue where anchor (`<a>`) tags in reply content could not properly…

 Fixed the issue where anchor (`<a>`) tags in reply content could not properly open links in a new tab or window. For security reasons, it is recommended to add `rel="noopener"` when using `target="_blank"` in `<a>` tags. (#5176)

Co-authored-by: 杨欣雨 <yangxinyu@cmdi.chinamobile.com>
parent 626ffec0
......@@ -114,7 +114,7 @@ const IframeHtmlCodeBlock = ({
() => (
<iframe
srcDoc={String(children)}
sandbox=""
sandbox="allow-popups"
referrerPolicy="no-referrer"
style={{
width: '100%',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment