Commit 1dd65456 by kay delaney Committed by GitHub

Component/NewsPanel: Add rel="noopener" to NewsPanel links (#28379)

parent 64304daf
......@@ -77,7 +77,7 @@ export class NewsPanel extends PureComponent<Props, State> {
{news.map((item, index) => {
return (
<div key={index} className={styles.item}>
<a href={textUtil.sanitizeUrl(item.link)} target="_blank">
<a href={textUtil.sanitizeUrl(item.link)} target="_blank" rel="noopener">
<div className={styles.title}>{item.title}</div>
<div className={styles.date}>{dateTimeFormat(item.date, { format: 'MMM DD' })} </div>
</a>
......
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 to comment