Skip to content

Commit

Permalink
Style : TODO 주석 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
kanglocal committed Feb 4, 2024
1 parent 89aa080 commit c90d561
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/VideoEmbed/VideoEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function VideoEmbed({ videoUrl }: VideoEmbedProps) {
return match && match[1] ? match[1] : null;
};

// TODO: XSS이슈 대비로 수정 예정(Dompurify 등 라이브러리 사용)
return (
<div className={styles.videoWrapper}>
<div className={styles.videoFrame} dangerouslySetInnerHTML={{ __html: embedCode || '' }} />
Expand Down

0 comments on commit c90d561

Please sign in to comment.