mirror of
https://github.com/ivabus/www
synced 2024-11-10 06:15:14 +03:00
fix: escape quotes in description in auto-gen markdown detail pages
This commit is contained in:
parent
e171f2b934
commit
0d1bd3b562
2
.github/build-package-pages.sh
vendored
2
.github/build-package-pages.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue