about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-09-02 10:09:12 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-09-02 10:09:12 +0200
commit9d73c74937ec4e9df6e996fdfbc6d0108d1aeaae (patch)
tree2233410288d4606c5e88f6ff45955f5ba568d417
parent3badf29790f1e4c3aff9bf3e776773c798ca861c (diff)
downloadwpgem-master.tar.gz
wpgem-master.zip
Add -e HEAD master
-rwxr-xr-xwpgem2
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