mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-14 15:11:13 +00:00
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>
This commit is contained in:
@@ -114,7 +114,7 @@ const IframeHtmlCodeBlock = ({
|
||||
() => (
|
||||
<iframe
|
||||
srcDoc={String(children)}
|
||||
sandbox=""
|
||||
sandbox="allow-popups"
|
||||
referrerPolicy="no-referrer"
|
||||
style={{
|
||||
width: '100%',
|
||||
|
Reference in New Issue
Block a user