Skip to content

Commit 520f9b9

Browse files
committed
fix quoting with unbreakable space AM/PM
1 parent 974f386 commit 520f9b9

12 files changed

+21
-21
lines changed

test/Stub/Quote/base64-quoted.eml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Content-Transfer-Encoding: quoted-printable
99
1010
Hello Universe
1111
12-
me (Jan 1, 2017, 12:00:00 AM):
12+
me (Jan 1, 2017, 12:00:00=E2=80=AFAM):
1313
>Lorem Ipsum
1414
>Lorem Ipsum
1515
>
@@ -24,8 +24,8 @@ Content-Type: text/html; charset=UTF-8
2424
Content-Transfer-Encoding: quoted-printable
2525

2626
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
27-
=3DUTF-8"></head><body><p>Hello Universe</p><p>me (Jan 1, 2017, 12:00:00 AM):=
28-
</p><blockquote type=3D"cite"><p>Lorem Ipsum<br>Lorem
27+
=3DUTF-8"></head><body><p>Hello Universe</p><p>me (Jan 1, 2017, 12:00:00=E2=
28+
=80=AFAM):</p><blockquote type=3D"cite"><p>Lorem Ipsum<br>Lorem
2929
Ipsum</p><p>me (Jan 1, 2015, 12:00:00 AM):</p><blockquote type=3D"cite">Hello
3030
Universe<p>me (Jan 1, 2017, 12:00:00 AM):</p><blockquote type=3D"cite"><p>Hel=
3131
lo
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Hello Universe €
22

3-
me (Jan 1, 2017, 12:00:00 AM):
3+
me (Jan 1, 2017, 12:00:00AM):
44
>Hello World
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><head><title>Universe Title</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>Hello Universe €<p>me (Jan 1, 2017, 12:00:00 AM):</p><blockquote type="cite"><p>Hello World</p></blockquote></body></html>
1+
<html><head><title>Universe Title</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>Hello Universe €<p>me (Jan 1, 2017, 12:00:00AM):</p><blockquote type="cite"><p>Hello World</p></blockquote></body></html>

test/Stub/Quote/deep-text-quoted.crlf.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Hello Universe
22

3-
me (Jan 1, 2017, 12:00:00 AM):
3+
me (Jan 1, 2017, 12:00:00AM):
44
>>Hello Universe
55
>>
66
>>me (Jan 1, 2017, 12:00:00 AM):

test/Stub/Quote/double-quoted-html-and-text.eml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ Content-Transfer-Encoding: quoted-printable
1010
Lorem Ipsum
1111
Lorem Ipsum
1212
13-
me (Jan 1, 2015, 12:00:00 AM):
13+
me (Jan 1, 2015, 12:00:00=E2=80=AFAM):
1414
>Hello Universe
1515
>
16-
>me (Jan 1, 2017, 12:00:00 AM):
16+
>me (Jan 1, 2017, 12:00:00=E2=80=AFAM):
1717
>>Hello World
1818
1919
--GenkgoMailV2Part09d54671f9f5
2020
Content-Type: text/html; charset=UTF-8
21-
Content-Transfer-Encoding: 7bit
21+
Content-Transfer-Encoding: quoted-printable
2222

23-
<html><head><title>Quoted Quoted</title><meta http-equiv="Content-Type"
24-
content="text/html; charset=UTF-8"></head><body><p>Lorem Ipsum<br>Lorem
25-
Ipsum</p><p>me (Jan 1, 2015, 12:00:00 AM):</p><blockquote type="cite">Hello
26-
Universe<p>me (Jan 1, 2017, 12:00:00 AM):</p><blockquote type="cite"><p>Hello
27-
World</p></blockquote></blockquote></body></html>
23+
<html><head><title>Quoted Quoted</title><meta http-equiv=3D"Content-Type" con=
24+
tent=3D"text/html; charset=3DUTF-8"></head><body><p>Lorem Ipsum<br>Lorem Ipsu=
25+
m</p><p>me (Jan 1, 2015, 12:00:00=E2=80=AFAM):</p><blockquote type=3D"cite">H=
26+
ello Universe<p>me (Jan 1, 2017, 12:00:00=E2=80=AFAM):</p><blockquote type=3D=
27+
"cite"><p>Hello World</p></blockquote></blockquote></body></html>
2828
--GenkgoMailV2Part09d54671f9f5--
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Hello Universe
22

3-
me (Jan 1, 2017, 12:00:00 AM):
3+
me (Jan 1, 2017, 12:00:00AM):
44
>Hello World
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><head><title>Universe Title</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>Hello Universe<p>me (Jan 1, 2017, 12:00:00 AM):</p><blockquote type="cite"><p>Hello World</p></blockquote></body></html>
1+
<html><head><title>Universe Title</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>Hello Universe<p>me (Jan 1, 2017, 12:00:00AM):</p><blockquote type="cite"><p>Hello World</p></blockquote></body></html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Hello Universe
22

3-
me (Jan 1, 2017, 12:00:00 AM):
3+
me (Jan 1, 2017, 12:00:00AM):
44
>Hello World
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><p>Hello Universe</p><p>me (Jan 1, 2017, 12:00:00 AM):</p><blockquote type="cite"><p>Hello World</p></blockquote></body></html>
1+
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><p>Hello Universe</p><p>me (Jan 1, 2017, 12:00:00AM):</p><blockquote type="cite"><p>Hello World</p></blockquote></body></html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<html><head><title>Universe Title</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>Hello Universe €<p>me (Jan 1, 2017, 12:00:00 AM):</p><blockquote type="cite">
1+
<html><head><title>Universe Title</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>Hello Universe €<p>me (Jan 1, 2017, 12:00:00AM):</p><blockquote type="cite">
22
<p>サーバリスト画面では、</p>
33
</blockquote></body></html>

0 commit comments

Comments
 (0)