Escape quotation-marks in post descriptions

This commit is contained in:
Jaidyn Ann 2023-11-20 00:13:32 -06:00
parent edb9ccd1ac
commit 61b22d1e09

View File

@ -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'
}