mirror of
https://github.com/ivabus/www
synced 2024-11-14 07:45:07 +03:00
fix: escape quotes in description in auto-gen markdown detail pages
This commit is contained in:
parent
4f2f92ad5e
commit
49f8955b54
1 changed files with 1 additions and 1 deletions
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="---
|
content="---
|
||||||
type: page
|
type: page
|
||||||
title: \"$(_jq '.name')\"
|
title: \"$(_jq '.name')\"
|
||||||
Description: \"$(_jq '.desc')\"
|
Description: \"$(_jq '.desc' | tr '\"' "'")\"
|
||||||
layout: \"package-detail\"
|
layout: \"package-detail\"
|
||||||
---"
|
---"
|
||||||
echo "$content" > $2/$(_jq '.slug').md
|
echo "$content" > $2/$(_jq '.slug').md
|
||||||
|
|
Loading…
Reference in a new issue