fix: escape quotes in description in auto-gen markdown detail pages

This commit is contained in:
neil 2022-10-20 12:46:01 +08:00
parent 4f2f92ad5e
commit 49f8955b54

View file

@ -10,7 +10,7 @@ for row in $(cat $1 | jq -r '.[] | @base64'); do
content="---
type: page
title: \"$(_jq '.name')\"
Description: \"$(_jq '.desc')\"
Description: \"$(_jq '.desc' | tr '\"' "'")\"
layout: \"package-detail\"
---"
echo "$content" > $2/$(_jq '.slug').md