Skip to content

Commit

Permalink
Merge pull request #63 from TeaByte/m7medVision/issue59
Browse files Browse the repository at this point in the history
Fix code scanning alert - Potentially unsafe external link
  • Loading branch information
m7medVision authored Feb 27, 2024
2 parents 09a463d + f310b1e commit e6d5f0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/CoursePage/MarkdownPart/EditButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default function EditButton({ slug }: EditButtonProps) {
return (
<a
target="_blank"
rel="noopener noreferrer"
href={`https://github.com/TeaByte/NakhlahJS/blob/main/courses/${slug}.md`}
class="pl-3 flex items-center gap-1 opacity-60 hover:opacity-100"
title="تعديل المقال"
Expand Down

0 comments on commit e6d5f0b

Please sign in to comment.