2
0
Fork 0
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:
Robin Ward 2013-06-21 11:36:33 -04:00
parent bfdbf373f3
commit bb908d5913
7 changed files with 62 additions and 27 deletions

View file

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