Skip to content

Commit 721ef27

Browse files
committed
does this fix lgtm?
1 parent f4ed695 commit 721ef27

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

extensions/amp-story/1.0/amp-story-page-attachment.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)