File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,11 +219,12 @@ export class AmpStoryPageAttachment extends DraggableDrawer {
219219 ) ;
220220
221221 // Use an anchor element to make this a real link in vertical rendering.
222- // TODO(wg-stories): Evaluate whether this link needs noopener or noreferrer.
223- // See https://lgtm.com/rules/1806963085/ and remove disabling comment for js/unsafe-external-link
224222 const link = (
223+ // TODO(wg-stories): Evaluate whether this link needs noopener or noreferrer.
224+ // See https://lgtm.com/rules/1806963085/ and remove disabling comment below.
225+ // lgtm [js/unsafe-external-link]
225226 < a
226- class = "i-amphtml-story-page-attachment-remote-content" // lgtm [js/unsafe-external-link]
227+ class = "i-amphtml-story-page-attachment-remote-content"
227228 target = "_blank"
228229 // URL will be validated and resolved based on the canonical URL if
229230 // relative when navigating.
You can’t perform that action at this time.
0 commit comments