Skip to content

Commit

Permalink
fix: escape html tag with backticks
Browse files Browse the repository at this point in the history
Fixes #60
  • Loading branch information
mcanouil committed Jul 21, 2024
1 parent 55c1077 commit 3f024b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/make-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ while IFS=, read -r entry; do
repo_description="No description available"
fi
repo_description=$(echo "${repo_description}" | sed 's/^[[:space:]]*//')
repo_description=$(echo "${repo_description}" | sed -E 's/([^`])(<[^<>]+>)([^`])/\1`\2`\3/g')

repo_topics=$(echo "${repo_info}" | jq -r ".repositoryTopics")
if [[ "${repo_topics}" = "null" ]]; then
repo_topics="[]"
Expand Down

0 comments on commit 3f024b1

Please sign in to comment.