mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Email parsing uses Traditional Markdown Linebreaks by default. Added JS tests for line breaks.
This commit is contained in:
parent
bfdbf373f3
commit
bb908d5913
7 changed files with 62 additions and 27 deletions
|
@ -82,7 +82,8 @@ module Email
|
|||
creator = PostCreator.new(email_log.user,
|
||||
raw: @body,
|
||||
topic_id: @email_log.topic_id,
|
||||
reply_to_post_number: @email_log.post.post_number)
|
||||
reply_to_post_number: @email_log.post.post_number,
|
||||
cooking_options: {traditional_markdown_linebreaks: true})
|
||||
|
||||
creator.create
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue