html2text 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,164 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html2text
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jevon Wright
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-18 00:00:00.000000000 Z
11
+ date: 2024-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '1.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler-audit
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: colorize
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
25
59
  - !ruby/object:Gem::Version
26
- version: '1.6'
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
27
75
  - !ruby/object:Gem::Dependency
28
76
  name: rspec
29
77
  requirement: !ruby/object:Gem::Requirement
30
78
  requirements:
31
- - - ! '>='
79
+ - - ">="
32
80
  - !ruby/object:Gem::Version
33
81
  version: '0'
34
82
  type: :development
35
83
  prerelease: false
36
84
  version_requirements: !ruby/object:Gem::Requirement
37
85
  requirements:
38
- - - ! '>='
86
+ - - ">="
39
87
  - !ruby/object:Gem::Version
40
88
  version: '0'
41
89
  - !ruby/object:Gem::Dependency
42
90
  name: rspec-collection_matchers
43
91
  requirement: !ruby/object:Gem::Requirement
44
92
  requirements:
45
- - - ! '>='
93
+ - - ">="
46
94
  - !ruby/object:Gem::Version
47
95
  version: '0'
48
96
  type: :development
49
97
  prerelease: false
50
98
  version_requirements: !ruby/object:Gem::Requirement
51
99
  requirements:
52
- - - ! '>='
100
+ - - ">="
53
101
  - !ruby/object:Gem::Version
54
102
  version: '0'
55
103
  - !ruby/object:Gem::Dependency
56
- name: colorize
104
+ name: rubocop
57
105
  requirement: !ruby/object:Gem::Requirement
58
106
  requirements:
59
- - - ! '>='
107
+ - - ">="
60
108
  - !ruby/object:Gem::Version
61
109
  version: '0'
62
110
  type: :development
63
111
  prerelease: false
64
112
  version_requirements: !ruby/object:Gem::Requirement
65
113
  requirements:
66
- - - ! '>='
114
+ - - ">="
67
115
  - !ruby/object:Gem::Version
68
116
  version: '0'
69
117
  - !ruby/object:Gem::Dependency
70
- name: rake
118
+ name: rubocop-performance
71
119
  requirement: !ruby/object:Gem::Requirement
72
120
  requirements:
73
- - - ! '>='
121
+ - - ">="
74
122
  - !ruby/object:Gem::Version
75
123
  version: '0'
76
124
  type: :development
77
125
  prerelease: false
78
126
  version_requirements: !ruby/object:Gem::Requirement
79
127
  requirements:
80
- - - ! '>='
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: rubocop-rake
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
81
143
  - !ruby/object:Gem::Version
82
144
  version: '0'
83
145
  description: A Ruby component to convert HTML into a plain text format.
84
146
  email:
85
- - jevon@powershop.co.nz
147
+ - jevon@jevon.org
86
148
  executables: []
87
149
  extensions: []
88
150
  extra_rdoc_files: []
89
151
  files:
152
+ - CHANGELOG.md
90
153
  - LICENSE.md
91
154
  - README.md
92
155
  - lib/html2text.rb
93
156
  - lib/html2text/version.rb
94
- - spec/examples/anchors.html
95
- - spec/examples/anchors.txt
96
- - spec/examples/basic.html
97
- - spec/examples/basic.txt
98
- - spec/examples/full_email.html
99
- - spec/examples/full_email.txt
100
- - spec/examples/images.html
101
- - spec/examples/images.txt
102
- - spec/examples/lists.html
103
- - spec/examples/lists.txt
104
- - spec/examples/more-anchors.html
105
- - spec/examples/more-anchors.txt
106
- - spec/examples/nbsp.html
107
- - spec/examples/nbsp.txt
108
- - spec/examples/table.html
109
- - spec/examples/table.txt
110
- - spec/examples/test3.html
111
- - spec/examples/test3.txt
112
- - spec/examples/test4.html
113
- - spec/examples/test4.txt
114
- - spec/examples_spec.rb
115
- - spec/html2text_spec.rb
116
- - spec/spec_helper.rb
117
157
  homepage: https://github.com/soundasleep/html2text_ruby
118
158
  licenses:
119
159
  - MIT
120
- metadata: {}
121
- post_install_message:
160
+ metadata:
161
+ rubygems_mfa_required: 'true'
162
+ post_install_message:
122
163
  rdoc_options: []
123
164
  require_paths:
124
165
  - lib
125
166
  required_ruby_version: !ruby/object:Gem::Requirement
126
167
  requirements:
127
- - - ! '>='
168
+ - - ">="
128
169
  - !ruby/object:Gem::Version
129
- version: '0'
170
+ version: '3.0'
130
171
  required_rubygems_version: !ruby/object:Gem::Requirement
131
172
  requirements:
132
- - - ! '>='
173
+ - - ">="
133
174
  - !ruby/object:Gem::Version
134
175
  version: '0'
135
176
  requirements: []
136
- rubyforge_project:
137
- rubygems_version: 2.4.5
138
- signing_key:
177
+ rubygems_version: 3.5.9
178
+ signing_key:
139
179
  specification_version: 4
140
180
  summary: Convert HTML into plain text.
141
- test_files:
142
- - spec/examples/anchors.html
143
- - spec/examples/anchors.txt
144
- - spec/examples/basic.html
145
- - spec/examples/basic.txt
146
- - spec/examples/full_email.html
147
- - spec/examples/full_email.txt
148
- - spec/examples/images.html
149
- - spec/examples/images.txt
150
- - spec/examples/lists.html
151
- - spec/examples/lists.txt
152
- - spec/examples/more-anchors.html
153
- - spec/examples/more-anchors.txt
154
- - spec/examples/nbsp.html
155
- - spec/examples/nbsp.txt
156
- - spec/examples/table.html
157
- - spec/examples/table.txt
158
- - spec/examples/test3.html
159
- - spec/examples/test3.txt
160
- - spec/examples/test4.html
161
- - spec/examples/test4.txt
162
- - spec/examples_spec.rb
163
- - spec/html2text_spec.rb
164
- - spec/spec_helper.rb
181
+ test_files: []
@@ -1,12 +0,0 @@
1
- A document without any HTML open/closing tags.
2
-
3
- <hr>
4
-
5
- We try and use the representation given by common browsers of the
6
- HTML document, so that it looks similar when converted to plain text.
7
-
8
- <a href="http://foo.com">visit foo.com</a> - or <a href="http://www.foo.com">http://www.foo.com</a>
9
-
10
- <a href="http://foo.com" title="a link with a title">link</a>
11
-
12
- <h2><a name="anchor">An anchor which will not appear</a></h2>
@@ -1,5 +0,0 @@
1
- A document without any HTML open/closing tags.
2
- ---------------------------------------------------------------
3
- We try and use the representation given by common browsers of the HTML document, so that it looks similar when converted to plain text. [visit foo.com](http://foo.com) - or http://www.foo.com [link](http://foo.com)
4
-
5
- [An anchor which will not appear]
@@ -1,21 +0,0 @@
1
- <html>
2
- <title>Ignored Title</title>
3
- <body>
4
- <h1>Hello, World!</h1>
5
-
6
- <p>This is some e-mail content.
7
- Even though it has whitespace and newlines, the e-mail converter
8
- will handle it correctly.
9
-
10
- <p>Even mismatched tags.</p>
11
-
12
- <div>A div</div>
13
- <div>Another div</div>
14
- <div>A div<div>within a div</div></div>
15
-
16
- <p>Another line<br />Yet another line</p>
17
-
18
- <a href="http://foo.com">A link</a>
19
-
20
- </body>
21
- </html>
@@ -1,13 +0,0 @@
1
- Hello, World!
2
-
3
- This is some e-mail content. Even though it has whitespace and newlines, the e-mail converter will handle it correctly.
4
-
5
- Even mismatched tags.
6
- A div
7
- Another div
8
- A div
9
- within a div
10
-
11
- Another line
12
- Yet another line
13
- [A link](http://foo.com)
@@ -1,220 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <meta name="viewport" content="width=680">
6
- </head>
7
- <body class="cat-update-email cat-update" style="background: #ffccee; color: blue; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 0; text-align: center" bgcolor="#ffccee">
8
- <style type="text/css">
9
- body.cat-update-email {
10
- margin: 0; padding: 0; background: #ffccee; color: blue; text-align: center;
11
- }
12
- body.cat-update-email {
13
- font-size: 12px; font-family: Times New Roman; font-weight: normal;
14
- }
15
- body.cat-update-email th {
16
- font-size: 12px; font-family: Times New Roman; font-weight: normal;
17
- }
18
- body.cat-update-email td {
19
- font-size: 12px; font-family: Times New Roman; font-weight: normal;
20
- }
21
- </style>
22
- <table class="header-wrapper" style="border-spacing: 0; border: none; margin: 0; width: 100%">
23
- <tr>
24
- <td class="header" style="background: none; color: #999; font-family: Times New Roman; font-size: 12px; font-weight: normal; padding: 15px 0">
25
- <table cellspacing="0" cellpadding="0" border="0" style="margin: 0 auto; padding: 0 20px; width: 640px">
26
- <tr>
27
- <th style="font-family: Times New Roman; font-size: 12px; font-weight: normal">
28
- <a class="logo" href="http://localhost/home" style="color: red; text-decoration: none">
29
- <img border="0" height="32" src="test.png" width="200" style="display: block">
30
- </a> </th>
31
- <td class="account-number" style="color: white; font-family: Times New Roman; font-size: 12px; font-weight: normal; text-align: right" align="right">
32
- 16 December 2015<br>
33
- Account 123
34
- </td>
35
- </tr>
36
- </table>
37
- </td>
38
- </tr>
39
- </table>
40
-
41
- <table class="section-wrapper" style="border-spacing: 0; border: none; margin: 0 auto 20px; width: 640px">
42
- <tr>
43
- <td class="salutation section" style="background: white; color: black; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0 auto 20px; padding: 40px 20px; text-align: left; width: 600px" align="left" bgcolor="white">
44
- <h1 class="user_greeting" style="font-family: Times New Roman; font-size: 1.8; font-weight: normal; line-height: 1.2; margin: 0 0 1em">
45
- Hi Susan
46
- </h1>
47
- <p class="message" style="font-size: 1.5em; line-height: 1.2; margin: 0">
48
- Here is your cat report.
49
- </p>
50
-
51
- </td>
52
- </tr>
53
- </table>
54
-
55
-
56
-
57
-
58
- <table class="section-wrapper" style="border-spacing: 0; border: none; margin: 0 auto 20px; width: 640px">
59
- <tr>
60
- <td class="balance section" style="background: white; color: black; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0 auto 20px; padding: 40px 20px; text-align: left; width: 600px" align="left" bgcolor="white">
61
- <div class="account-status-heading" style="font-size: 2.5em; line-height: 1em; padding: 30px 20px; text-align: center" align="center">You have found <span class="status-cats-negative" style="color: #df0000">5 cats</span> less than anyone else</div>
62
-
63
- <div id="cat-update-action-buttons">
64
- <div id="buy-button" style="text-align: center" align="center">
65
- <a class="btn-alert" href="http://localhost/cats" id="buy-cats-button" style="-moz-appearance: none; -webkit-appearance: none; background: #DF0000; border-radius: 3px; border: 11px solid #df0000; color: #fff; cursor: pointer; display: block; font-size: 16px; height: 16px; line-height: 16px; margin: 0 auto; text-decoration: none; transition: background-color .15s; width: 120px">Find more cats</a>
66
- </div>
67
- </div>
68
- </td>
69
- </tr>
70
- </table>
71
-
72
- <table class="section-wrapper" style="border-spacing: 0; border: none; margin: 0 auto 20px; width: 640px">
73
- <tr>
74
- <td class="cats section" id="cats" style="background: white; color: black; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0 auto 20px; padding: 40px 20px; text-align: left; width: 600px" align="left" bgcolor="white">
75
- <div class="cats-usage">
76
- <h2 style="font-family: Times New Roman; font-size: 1.8; font-weight: normal; line-height: 1.2; margin: 0">Down the road</h2>
77
- <p class="fine-print" style="margin: 0">Across the hall</p>
78
-
79
- <h3 style="font-family: Times New Roman; font-size: 18px; font-weight: normal; line-height: 2em; margin: 10px 0 0">Your achievements</h3>
80
- <table class="current-usage with-icon-left" style="border-collapse: collapse; border-spacing: 0; margin-bottom: 20px; margin-top: 20px; width: 100%">
81
- <tr>
82
- <th style="border: none; font-family: Times New Roman; font-size: 14px; font-weight: bold; margin: 0; padding: 0; text-align: left; vertical-align: middle; width: 50px" align="left" valign="middle"><img src="test.png"></th>
83
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 0; vertical-align: top; width: 550px" valign="top">
84
- <div class="top">You're currently finding about</div>
85
- <div class="large" style="color: black; font-size: 18px; padding: 4px 0">12 cats</div>
86
- <div class="bottom">per day</div>
87
- </td>
88
- </tr>
89
- <tr><td colspan="2" style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 0; vertical-align: top; width: 550px" valign="top"> </td></tr>
90
- <tr>
91
- <td colspan="2" style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 0; vertical-align: top; width: 550px" valign="top"><img alt="Number of cats found" src="test.png"></td>
92
- </tr>
93
- </table>
94
- </div>
95
-
96
-
97
- <div class="summary">
98
- <hr class="fine-print" style="border-bottom-color: #eee; border-bottom-style: solid; border-width: 0 0 1px; margin: 20px 0">
99
-
100
- <h3 style="font-family: Times New Roman; font-size: 18px; font-weight: normal; line-height: 2em; margin: 10px 0 0">Your last cat was found two days ago.</h3>
101
- <p class="fine-print" style="margin: 0">One type of cat is a kitten.</p>
102
-
103
- <table class="readings" style="border-collapse: collapse; border-spacing: 0; margin: 10px 0; width: 100%">
104
- <tr style="color: #BD236C">
105
- <td class="left-column" style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 0; width: 5%">
106
- <img src="test.png" style="padding-top: 10px">
107
- </td>
108
- <td class="center-column" style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 0; width: 60%">
109
- <h3 style="font-family: Times New Roman; font-size: 18px; font-weight: normal; line-height: 2em; margin: 10px 0 0">Special account <span class="nickname" style="font-size: 12px"></span> <span class="fine-print">A1</span>
110
- </h3>
111
- </td>
112
- <td class="right-column" style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 0; width: 20%">
113
- <h3 style="font-family: Times New Roman; font-size: 18px; font-weight: normal; line-height: 2em; margin: 10px 0 0">12.345</h3>
114
- </td>
115
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 0"></td>
116
- </tr>
117
- </table>
118
-
119
- </div>
120
-
121
- </td>
122
- </tr>
123
- </table>
124
-
125
- <div class="banner" style="margin: 0 auto 20px; padding: 10px; text-align: center; width: 640px" align="center">
126
- <a href="http://localhost/logout" style="color: red; text-decoration: none">
127
- <img alt="" border="0" height="177" src="http://localhost/photo1.png" width="600">
128
- </a>
129
- </div>
130
-
131
- <table class="section-wrapper" style="border-spacing: 0; border: none; margin: 0 auto 20px; width: 640px">
132
- <tr>
133
- <td class="tips section" style="background: white; color: black; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0 auto 20px; padding: 40px 20px; text-align: left; width: 600px" align="left" bgcolor="white">
134
- <table style="border-collapse: collapse; border-spacing: 0; width: 100%">
135
- <tr>
136
- <td colspan="3" style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0; vertical-align: top; width: 200px" valign="top"><h2 style="font-family: Times New Roman; font-size: 1.8; font-weight: normal; line-height: 1.2; margin: 0 0 10px">How can you find more cats?</h2></td>
137
- </tr>
138
-
139
- <tr class="icon">
140
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0; vertical-align: top; width: 200px" valign="top"><img height="40" src="http://localhost/photo1.png" width="40"></td>
141
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top"><img height="40" src="http://localhost/photo2.png" width="40"></td>
142
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top"><img height="40" src="http://localhost/photo3.png" width="40"></td>
143
- </tr>
144
-
145
- <tr class="subtitle">
146
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0; vertical-align: top; width: 200px" valign="top"><h3 style="font-family: Times New Roman; font-size: 18px; font-weight: normal; line-height: 2em; margin: 0 0 5px">Look in trash cans</h3></td>
147
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top"><h3 style="font-family: Times New Roman; font-size: 18px; font-weight: normal; line-height: 2em; margin: 0 0 5px">Start meowing</h3></td>
148
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top"><h3 style="font-family: Times New Roman; font-size: 18px; font-weight: normal; line-height: 2em; margin: 0 0 5px">Eat cat food</h3></td>
149
- </tr>
150
-
151
- <tr class="body" style="color: green">
152
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0; vertical-align: top; width: 200px" valign="top">Some cats like to hang out in trash cans. Some cats do not.</td>
153
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top">Some cats are attracted to similar tones.</td>
154
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top">So one day your tears may smell like cat food, attracting more cats.</td>
155
- </tr>
156
-
157
- <tr class="image">
158
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0; vertical-align: top; width: 200px" valign="top">
159
- <a href="https://localhost/about" style="color: red; text-decoration: none">
160
- <img border="0" height="130" src="http://localhost/photo1.png" style="display: block; margin: 10px 0" width="165">
161
- </a>
162
- </td>
163
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top">
164
- <a href="https://localhost/about" style="color: red; text-decoration: none">
165
- <img border="0" height="130" src="http://localhost/photo2.png" style="display: block; margin: 10px 0" width="165">
166
- </a>
167
- </td>
168
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top">
169
- <a href="https://localhost/about" style="color: red; text-decoration: none">
170
- <img border="0" height="130" src="http://localhost/photo3.png" style="display: block; margin: 10px 0" width="165">
171
- </a>
172
- </td>
173
- </tr>
174
-
175
- <tr class="tips-footer" style="color: green">
176
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0; vertical-align: top; width: 200px" valign="top">
177
- <a href="https://github.com/soundasleep/html2text_ruby" style="color: red; text-decoration: none">Cats are great.</a>
178
- </td>
179
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top">
180
- <a href="https://github.com/soundasleep/html2text_ruby" style="color: red; text-decoration: none">Find more cats.</a>
181
- </td>
182
- <td style="border: none; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0; padding: 5px 0 0 17px; vertical-align: top; width: 200px" valign="top">
183
- <a href="https://github.com/soundasleep/html2text_ruby" style="color: red; text-decoration: none">Do more things.</a>
184
- </td>
185
- </tr>
186
- </table>
187
- </td>
188
- </tr>
189
- </table>
190
-
191
-
192
-
193
-
194
-
195
- <table class="footer-wrapper" style="margin: 0 auto 20px">
196
- <tr>
197
- <td class="footer" style="color: #9B9B9B; font-family: Times New Roman; font-size: 12px; font-weight: normal; margin: 0 auto 4em; text-align: left; width: 600px" align="left">
198
- <h3 style="font-family: Times New Roman; font-size: 1.2; font-weight: normal; line-height: 2em; margin: 0">
199
- <a href="http://localhost/contact" style="color: red; text-decoration: none">Contact us</a>
200
- </h3>
201
- <p style="margin: 0 0 1em">
202
- cats@cats.com<br>
203
- Monday and Friday
204
- </p>
205
-
206
- <p style="margin: 0 0 1em"><a href="https://github.com/soundasleep/html2text" style="color: red; text-decoration: none"><img align="absmiddle" height="26" src="test.png" width="26"></a>
207
- <a href="https://github.com/soundasleep/html2text_ruby" style="color: red; text-decoration: none"><img align="absmiddle" height="26" src="test.png" width="26"></a>
208
- </p>
209
-
210
- <p class="message no-web-display" style="margin: 0">Having trouble seeing this email?
211
- <a href="http://localhost/view_it_online" style="color: red; text-decoration: none">View it online</a>.
212
- </p>
213
-
214
- </td>
215
- </tr>
216
- </table>
217
- <script async type="text/javascript" id="profiler" src="/profiler.js" data-version="1.0"></script>
218
- </body>
219
- </html>
220
-
@@ -1,54 +0,0 @@
1
- http://localhost/home 16 December 2015
2
- Account 123
3
-
4
- Hi Susan
5
-
6
- Here is your cat report.
7
-
8
- You have found 5 cats less than anyone else
9
-
10
- [Find more cats](http://localhost/cats)
11
-
12
- Down the road
13
-
14
- Across the hall
15
-
16
- Your achievements
17
-
18
- You're currently finding about
19
- 12 cats
20
- per day
21
-
22
- [Number of cats found]
23
- ---------------------------------------------------------------
24
-
25
- Your last cat was found two days ago.
26
-
27
- One type of cat is a kitten.
28
-
29
- Special account A1
30
-
31
- 12.345
32
-
33
- http://localhost/logout
34
-
35
- How can you find more cats?
36
-
37
- Look in trash cans
38
-
39
- Start meowing
40
-
41
- Eat cat food
42
-
43
- Some cats like to hang out in trash cans. Some cats do not. Some cats are attracted to similar tones. So one day your tears may smell like cat food, attracting more cats.
44
- https://localhost/about https://localhost/about https://localhost/about
45
- [Cats are great.](https://github.com/soundasleep/html2text_ruby) [Find more cats.](https://github.com/soundasleep/html2text_ruby) [Do more things.](https://github.com/soundasleep/html2text_ruby)
46
-
47
- [Contact us](http://localhost/contact)
48
-
49
- cats@cats.com
50
- Monday and Friday
51
-
52
- https://github.com/soundasleep/html2text https://github.com/soundasleep/html2text_ruby
53
-
54
- Having trouble seeing this email? [View it online](http://localhost/view_it_online).
@@ -1,54 +0,0 @@
1
- <body>
2
- <p>
3
- One: <img src="one.png">
4
- </p>
5
-
6
- <p>
7
- Two: <img src="two.png" alt="two">
8
- </p>
9
-
10
- <p>
11
- Three: <img src="three.png" title="three">
12
- </p>
13
-
14
- <p>
15
- Four: <img src="four.png" title="four" alt="four alt">
16
- </p>
17
-
18
- <h1>With links</h1>
19
-
20
- <p>
21
- One: <a href="http://localhost"><img src="one.png"></a>
22
- </p>
23
-
24
- <p>
25
- Two: <a href="http://localhost"><img src="two.png" alt="two"></a>
26
- </p>
27
-
28
- <p>
29
- Three: <a href="http://localhost"><img src="three.png" title="three"></a>
30
- </p>
31
-
32
- <p>
33
- Four: <a href="http://localhost"><img src="four.png" title="four" alt="four alt"></a>
34
- </p>
35
-
36
- <h1>With links with titles</h1>
37
-
38
- <p>
39
- One: <a href="http://localhost" title="one link"><img src="one.png"></a>
40
- </p>
41
-
42
- <p>
43
- Two: <a href="http://localhost" title="two link"><img src="two.png" alt="two"></a>
44
- </p>
45
-
46
- <p>
47
- Three: <a href="http://localhost" title="three link"><img src="three.png" title="three"></a>
48
- </p>
49
-
50
- <p>
51
- Four: <a href="http://localhost" title="four link"><img src="four.png" title="four" alt="four alt"></a>
52
- </p>
53
- </body>
54
- </html>