andrewbanchich / shreddit

Delete your Reddit data.
MIT License
247 stars 11 forks source link

Allow newlines in edited comments #84

Open ChaoticNeutralCzech opened 1 year ago

ChaoticNeutralCzech commented 1 year ago

Whether setting the --replacement-comment flag or the SHREDDIT_REPLACEMENT_COMMENT environment variable, all \n occurences in it get replaced with \\n. Please replace them with actual newlines so that the replacement comment can have multiple paragraphs.

Sada-Mio commented 7 months ago

When I encase comment string with single quotes those \n are placed with \\n but if encase double quotes it is fine