Skip to content

Commit

Permalink
Fix issue #530 Downloaded conversation posts are saved incorrectly in…
Browse files Browse the repository at this point in the history
… text mode
  • Loading branch information
thomas694 committed May 19, 2024
1 parent 7036576 commit 4b1f37e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@ public string ParseConversation(T post)
Environment.NewLine +
string.Format(CultureInfo.CurrentCulture, Resources.ReblogName, post.RebloggedFromName) +
Environment.NewLine +
string.Format(CultureInfo.CurrentCulture, Resources.Quote,
post.Conversation?.Select(dialogue => new { name = dialogue.Name, phrase = dialogue.Phrase })) +
string.Format(CultureInfo.CurrentCulture, Resources.Title, post.ConversationTitle) +
Environment.NewLine +
string.Format(CultureInfo.CurrentCulture, Resources.Body, post.RegularBody) +
string.Format(CultureInfo.CurrentCulture, Resources.Body, post.ConversationText.Replace("\n", Environment.NewLine + new string(' ', Resources.Body.Replace("{0}", "").Length))) +
Environment.NewLine +
string.Format(CultureInfo.CurrentCulture, Resources.Tags,
string.Join(", ", post.Tags.ToArray())) +
Expand Down

0 comments on commit 4b1f37e

Please sign in to comment.