From 3f024b14aeab67861e2a928682278181c1a84124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Sun, 21 Jul 2024 14:28:55 +0200 Subject: [PATCH] fix: escape html tag with backticks Fixes #60 --- extensions/make-yaml.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/make-yaml.sh b/extensions/make-yaml.sh index dbbb355..70c342b 100755 --- a/extensions/make-yaml.sh +++ b/extensions/make-yaml.sh @@ -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="[]"