initial commit
This commit is contained in:
6
tests/fixtures/html_replies/gmail.html
vendored
Normal file
6
tests/fixtures/html_replies/gmail.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<div dir="ltr"><div class="gmail_default"><div class="gmail_default" style>Hi. I am fine.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>Thanks,</div><div class="gmail_default" style>Alex</div>
|
||||
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 2:14 PM, Alexander L <span dir="ltr"><<a href="mailto:abc@example.com" target="_blank">a@example.com</a>></span> wrote:<br>
|
||||
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="font-family:arial,sans-serif">
|
||||
Hello! How are you?</div><div class="gmail_default" style="font-family:arial,sans-serif"><br>
|
||||
</div><div class="gmail_default" style="font-family:arial,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,sans-serif">Sasha.</div></div></div>
|
||||
</blockquote></div><br></div>
|
||||
17
tests/fixtures/html_replies/hotmail.html
vendored
Normal file
17
tests/fixtures/html_replies/hotmail.html
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<html>
|
||||
<head>
|
||||
<style><!--
|
||||
.hmmessage P
|
||||
{
|
||||
margin:0px;
|
||||
padding:0px
|
||||
}
|
||||
body.hmmessage
|
||||
{
|
||||
font-size: 12pt;
|
||||
font-family:Calibri
|
||||
}
|
||||
--></style></head>
|
||||
<body class='hmmessage'><div dir='ltr'>Hi. I am fine.<div><br></div><div>Thanks,</div><div>Alex<br><br><div><hr id="stopSpelling">Date: Thu, 26 Jun 2014 13:53:45 +0400<br>Subject: Test message<br>From: abc@example.com<br>To: alex.l@example.com<br><br><div dir="ltr"><div class="ecxgmail_default" style="font-size:small;">Hello! How are you?</div><div class="ecxgmail_default" style="font-size:small;"><br></div><div class="ecxgmail_default" style="font-size:small;">Thanks,</div><div class="ecxgmail_default" style="font-size:small;">
|
||||
Sasha.</div></div></div></div> </div></body>
|
||||
</html>
|
||||
57
tests/fixtures/html_replies/mail_ru.html
vendored
Normal file
57
tests/fixtures/html_replies/mail_ru.html
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
|
||||
<HTML><BODY><p>Hi. I am fine.</p><p>Thanks,<br>Alex</p><br><br><br>Thu, 26 Jun 2014 14:00:51 +0400 от Alexander L <abc@example.com>:<br>
|
||||
<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
|
||||
<div id="">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="js-helper js-readmsg-msg">
|
||||
<style type="text/css"></style>
|
||||
<div>
|
||||
<base target="_self" href="https://e.mail.ru/">
|
||||
|
||||
<div id="style_14037768550000001020_BODY"><div dir="ltr"><div style="font-size:small"><div style="font-family:arial,sans-serif">Hello! How are you?</div><div style="font-family:arial,sans-serif"><br>
|
||||
</div><div style="font-family:arial,sans-serif">Thanks,</div><div style="font-family:arial,sans-serif">Sasha.</div></div></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<base target="_self" href="https://e.mail.ru/">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</blockquote>
|
||||
<br></BODY></HTML>
|
||||
134
tests/fixtures/html_replies/ms_outlook_2003.html
vendored
Normal file
134
tests/fixtures/html_replies/ms_outlook_2003.html
vendored
Normal file
@@ -0,0 +1,134 @@
|
||||
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
|
||||
|
||||
<head>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
|
||||
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
|
||||
<!--[if !mso]>
|
||||
<style>
|
||||
v\:* {behavior:url(#default#VML);}
|
||||
o\:* {behavior:url(#default#VML);}
|
||||
w\:* {behavior:url(#default#VML);}
|
||||
.shape {behavior:url(#default#VML);}
|
||||
</style>
|
||||
<![endif]-->
|
||||
<style>
|
||||
<!--
|
||||
/* Font Definitions */
|
||||
@font-face
|
||||
{font-family:Tahoma;
|
||||
panose-1:2 11 6 4 3 5 4 4 2 4;}
|
||||
/* Style Definitions */
|
||||
p.MsoNormal, li.MsoNormal, div.MsoNormal
|
||||
{margin:0cm;
|
||||
margin-bottom:.0001pt;
|
||||
font-size:12.0pt;
|
||||
font-family:"Times New Roman";}
|
||||
a:link, span.MsoHyperlink
|
||||
{color:blue;
|
||||
text-decoration:underline;}
|
||||
a:visited, span.MsoHyperlinkFollowed
|
||||
{color:purple;
|
||||
text-decoration:underline;}
|
||||
span.EmailStyle17
|
||||
{mso-style-type:personal-reply;
|
||||
font-family:Arial;
|
||||
color:navy;}
|
||||
@page Section1
|
||||
{size:595.3pt 841.9pt;
|
||||
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
|
||||
div.Section1
|
||||
{page:Section1;}
|
||||
-->
|
||||
</style>
|
||||
<!--[if gte mso 9]><xml>
|
||||
<o:shapedefaults v:ext="edit" spidmax="1026" />
|
||||
</xml><![endif]--><!--[if gte mso 9]><xml>
|
||||
<o:shapelayout v:ext="edit">
|
||||
<o:idmap v:ext="edit" data="1" />
|
||||
</o:shapelayout></xml><![endif]-->
|
||||
</head>
|
||||
|
||||
<body lang=RU link=blue vlink=purple>
|
||||
|
||||
<div class=Section1>
|
||||
|
||||
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
|
||||
style='font-size:10.0pt;font-family:Arial;color:navy'>Hi. I am fine.<o:p></o:p></span></font></p>
|
||||
|
||||
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
|
||||
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
|
||||
|
||||
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
|
||||
style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>
|
||||
|
||||
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
|
||||
style='font-size:10.0pt;font-family:Arial;color:navy'>Alex<o:p></o:p></span></font></p>
|
||||
|
||||
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
|
||||
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
|
||||
|
||||
<div>
|
||||
|
||||
<div class=MsoNormal align=center style='text-align:center'><font size=3
|
||||
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
|
||||
|
||||
<hr size=3 width="100%" align=center tabindex=-1>
|
||||
|
||||
</span></font></div>
|
||||
|
||||
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
|
||||
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
|
||||
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
|
||||
Alexander L [mailto:abc@example.com] <br>
|
||||
<b><span style='font-weight:bold'>Sent:</span></b> Friday, June 27, 2014 12:06
|
||||
PM<br>
|
||||
<b><span style='font-weight:bold'>To:</span></b> Alexander<br>
|
||||
<b><span style='font-weight:bold'>Subject:</span></b> Test message</span></font><span
|
||||
lang=EN-US><o:p></o:p></span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
|
||||
12.0pt'><o:p> </o:p></span></font></p>
|
||||
|
||||
<div>
|
||||
|
||||
<div>
|
||||
|
||||
<div>
|
||||
|
||||
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt;
|
||||
font-family:Arial'>Hello! How are you?<o:p></o:p></span></font></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt;
|
||||
font-family:Arial'><o:p> </o:p></span></font></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt;
|
||||
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt;
|
||||
font-family:Arial'>Sasha.<o:p></o:p></span></font></p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
42
tests/fixtures/html_replies/ms_outlook_2007.html
vendored
Normal file
42
tests/fixtures/html_replies/ms_outlook_2007.html
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
|
||||
/* Font Definitions */
|
||||
@font-face
|
||||
{font-family:"Cambria Math";
|
||||
panose-1:2 4 5 3 5 4 6 3 2 4;}
|
||||
@font-face
|
||||
{font-family:Calibri;
|
||||
panose-1:2 15 5 2 2 2 4 3 2 4;}
|
||||
@font-face
|
||||
{font-family:Tahoma;
|
||||
panose-1:2 11 6 4 3 5 4 4 2 4;}
|
||||
/* Style Definitions */
|
||||
p.MsoNormal, li.MsoNormal, div.MsoNormal
|
||||
{margin:0cm;
|
||||
margin-bottom:.0001pt;
|
||||
font-size:12.0pt;
|
||||
font-family:"Times New Roman","serif";}
|
||||
a:link, span.MsoHyperlink
|
||||
{mso-style-priority:99;
|
||||
color:blue;
|
||||
text-decoration:underline;}
|
||||
a:visited, span.MsoHyperlinkFollowed
|
||||
{mso-style-priority:99;
|
||||
color:purple;
|
||||
text-decoration:underline;}
|
||||
span.EmailStyle17
|
||||
{mso-style-type:personal-reply;
|
||||
font-family:"Calibri","sans-serif";
|
||||
color:#1F497D;}
|
||||
.MsoChpDefault
|
||||
{mso-style-type:export-only;}
|
||||
@page WordSection1
|
||||
{size:612.0pt 792.0pt;
|
||||
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
|
||||
div.WordSection1
|
||||
{page:WordSection1;}
|
||||
--></style><!--[if gte mso 9]><xml>
|
||||
<o:shapedefaults v:ext="edit" spidmax="1026" />
|
||||
</xml><![endif]--><!--[if gte mso 9]><xml>
|
||||
<o:shapelayout v:ext="edit">
|
||||
<o:idmap v:ext="edit" data="1" />
|
||||
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi. I am fine.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Alex<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=RU style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=RU style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Alexander L [mailto:abc@example.com] <br><b>Sent:</b> Thursday, July 03, 2014 3:50 PM<br><b>To:</b> alex.l@example.com<br><b>Subject:</b> Test message<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Hello! How are you?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Thanks,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif"'>Sasha.<o:p></o:p></span></p></div></div></div></div></body></html>
|
||||
32
tests/fixtures/html_replies/thunderbird.html
vendored
Normal file
32
tests/fixtures/html_replies/thunderbird.html
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
Hi. I am fine.<br>
|
||||
<br>
|
||||
Thanks,<br>
|
||||
Alex<br>
|
||||
<div class="moz-cite-prefix">On 26.06.2014 14:41, Alexander L
|
||||
wrote:<br>
|
||||
</div>
|
||||
<blockquote
|
||||
cite="mid:CA+jEWTKBU6qc4OnH5m=-0sfwkAzZhcy0rd+ean2W6bFUVXaO7A@mail.gmail.com"
|
||||
type="cite">
|
||||
<div dir="ltr">
|
||||
<div class="gmail_default" style="font-size:small">
|
||||
<div class="gmail_default"
|
||||
style="font-family:arial,sans-serif">Hello! How are you?</div>
|
||||
<div class="gmail_default"
|
||||
style="font-family:arial,sans-serif"><br>
|
||||
</div>
|
||||
<div class="gmail_default"
|
||||
style="font-family:arial,sans-serif">Thanks,</div>
|
||||
<div class="gmail_default"
|
||||
style="font-family:arial,sans-serif">Sasha.</div>
|
||||
</div>
|
||||
</div>
|
||||
</blockquote>
|
||||
<br>
|
||||
</body>
|
||||
</html>
|
||||
33
tests/fixtures/html_replies/windows_mail.html
vendored
Normal file
33
tests/fixtures/html_replies/windows_mail.html
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content="Windows Mail 17.5.9600.20498">
|
||||
<style data-externalstyle="true"><!--
|
||||
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
|
||||
margin-top:0in;
|
||||
margin-right:0in;
|
||||
margin-bottom:0in;
|
||||
margin-left:.5in;
|
||||
margin-bottom:.0001pt;
|
||||
}
|
||||
p.MsoNormal, li.MsoNormal, div.MsoNormal {
|
||||
margin:0in;
|
||||
margin-bottom:.0001pt;
|
||||
}
|
||||
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst,
|
||||
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle,
|
||||
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
|
||||
margin-top:0in;
|
||||
margin-right:0in;
|
||||
margin-bottom:0in;
|
||||
margin-left:.5in;
|
||||
margin-bottom:.0001pt;
|
||||
line-height:115%;
|
||||
}
|
||||
--></style></head>
|
||||
<body dir="ltr">
|
||||
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;"><div>Hi. I am fine.</div><div><br></div><div>Thanks,</div><div>Alex<br></div><div data-signatureblock="true"><div><br></div><div><br></div></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face=" 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif'" style='line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "sans-serif"; font-size: 12pt;'><b>От:</b> <a href="mailto:abc@example.com" target="_parent">Alexander L</a><br><b>Отправлено:</b> четверг, 26 июня 2014 г. 15:05<br><b>Кому:</b> <a href="mailto:alex-ninja@example.com" target="_parent">Alex</a></font></div></div><div><br></div><div dir=""><div dir="ltr"><div class="gmail_default" style="font-size: small;"><div class="gmail_default" style="font-family: arial,sans-serif;">Hello! How are you?</div><div class="gmail_default" style="font-family: arial,sans-serif;"><br>
|
||||
</div><div class="gmail_default" style="font-family: arial,sans-serif;">Thanks,</div><div class="gmail_default" style="font-family: arial,sans-serif;">Sasha.</div></div></div>
|
||||
</div></div>
|
||||
</body>
|
||||
</html>
|
||||
1
tests/fixtures/html_replies/yandex_ru.html
vendored
Normal file
1
tests/fixtures/html_replies/yandex_ru.html
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<p>Hi. I am fine.<br /><br />Thanks,<br />Alex<br /><br />26.06.2014, 14:41, "Alexander L" <<a href="mailto:abc@example.com">abc@example.com</a>>:</p><blockquote> Hello! How are you?<br /><br /> Thanks,<br /> Sasha.</blockquote>
|
||||
Reference in New Issue
Block a user