aboutsummaryrefslogtreecommitdiff
path: root/subprojects/freeamo/src/make-wiki
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/freeamo/src/make-wiki')
-rw-r--r--subprojects/freeamo/src/make-wiki4
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/freeamo/src/make-wiki b/subprojects/freeamo/src/make-wiki
index a148e74..b4de1a6 100644
--- a/subprojects/freeamo/src/make-wiki
+++ b/subprojects/freeamo/src/make-wiki
@@ -83,8 +83,8 @@ while IFS= read -r table; do
# End description code
# The homepage field is mandatory so let's remove "null" from it because we don't need to evaluat it
- homepage_url=$(jq .results[$entry].homepage "$file" | sed "s|en-US|enUS|;" | jq .enUS | sed "s|^\"||; s|\"$||;" | sed "s|null||");
- license_copyright=$(jq .results[$entry].authors[].name "$file" | sed "s|^\"||; s|\"$||;");
+ homepage_url=$(jq .results[$entry].homepage "$file" | sed "s|en-US|enUS|;" | jq -r .enUS | sed "s|null||");
+ license_copyright=$(jq -r .results[$entry].authors[].name "$file" );
bayesian_average=$(jq .results[$entry].ratings.bayesian_average "$file");
bayesian_average__simple=$(printf "%.1f" "${bayesian_average//./,}");