diff --git a/sfeed_mastodon b/sfeed_mastodon index ab1b84a..2c7405a 100755 --- a/sfeed_mastodon +++ b/sfeed_mastodon @@ -79,7 +79,8 @@ sfeed_post_text() { | sed "s|{{url}}|$url|g" \ | sed "s|{{desc}}|$desc|g" \ | sed "s|{{desc_short}}|$desc_snip|g" \ - | sed 's%\\n%%' \ + | sed 's|\\n||g' \ + | sed 's|"|\\"|g' \ | tr -d ' \n' }