mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FIX: Do not strip email lines having lists.
This commit is contained in:
@ -1274,6 +1274,18 @@ describe Email::Receiver do
|
||||
This is a line that will not be touched.
|
||||
This is another line that will not be touched.
|
||||
|
||||
* list
|
||||
|
||||
* sub-list
|
||||
|
||||
- list
|
||||
|
||||
- sub-list
|
||||
|
||||
+ list
|
||||
|
||||
+ sub-list
|
||||
|
||||
[code]
|
||||
1.upto(10).each do |i|
|
||||
puts i
|
||||
@ -1308,6 +1320,18 @@ describe Email::Receiver do
|
||||
This is a line that will not be touched.
|
||||
This is another line that will not be touched.
|
||||
|
||||
* list
|
||||
|
||||
* sub-list
|
||||
|
||||
- list
|
||||
|
||||
- sub-list
|
||||
|
||||
+ list
|
||||
|
||||
+ sub-list
|
||||
|
||||
[code]
|
||||
1.upto(10).each do |i|
|
||||
puts i
|
||||
|
Reference in New Issue
Block a user