diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-09-02 10:09:12 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-09-02 10:09:12 +0200 |
commit | 9d73c74937ec4e9df6e996fdfbc6d0108d1aeaae (patch) | |
tree | 2233410288d4606c5e88f6ff45955f5ba568d417 | |
parent | 3badf29790f1e4c3aff9bf3e776773c798ca861c (diff) | |
download | wpgem-master.tar.gz wpgem-master.zip |
-rwxr-xr-x | wpgem | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wpgem b/wpgem index 9130e19..58c9f1b 100755 --- a/wpgem +++ b/wpgem @@ -41,7 +41,7 @@ while [ "$B" != "1" ]; do mkdir -p $OUT/site/$(dirname $rel) echo "# $title" > $OUT/site/$rel.gmi - cat $OUT/data/$post_id | jq -r '.content | .rendered' | html2gmi >> $OUT/site/$rel.gmi + cat $OUT/data/$post_id | jq -r '.content | .rendered' | html2gmi -e >> $OUT/site/$rel.gmi printf "\n------\nArtykuł pochodzi z portalu $URL\n" >> $OUT/site/$rel.gmi echo "=> $link Oryginalny artykuł" >> $OUT/site/$rel.gmi done |