html_email_creator 1.0.4 → 1.0.5

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.
@@ -1,3 +1,3 @@
1
1
  module HtmlEmailCreator
2
- VERSION = "1.0.4" unless defined?(::HtmlEmailCreator::VERSION)
2
+ VERSION = "1.0.5" unless defined?(::HtmlEmailCreator::VERSION)
3
3
  end
@@ -8,7 +8,7 @@ describe HtmlEmailCreator::Formatter do
8
8
  HtmlEmailCreator::Formatter.new("**I am strong**").find(md).format.should eql("<p><strong>I am strong</strong></p>")
9
9
  end
10
10
 
11
- it "should support table extension" do
11
+ it "should not support Kramdowns table extension, since it is not compatible with Liquid filters" do
12
12
  markdown = <<-eos
13
13
  | First | Second | Third |
14
14
  |:------|:-------|:------|
@@ -16,22 +16,9 @@ describe HtmlEmailCreator::Formatter do
16
16
  eos
17
17
 
18
18
  html = <<eos
19
- <table>
20
- <thead>
21
- <tr>
22
- <th style="text-align: left">First</th>
23
- <th style="text-align: left">Second</th>
24
- <th style="text-align: left">Third</th>
25
- </tr>
26
- </thead>
27
- <tbody>
28
- <tr>
29
- <td style="text-align: left">1</td>
30
- <td style="text-align: left">2</td>
31
- <td style="text-align: left">3</td>
32
- </tr>
33
- </tbody>
34
- </table>
19
+ <p>| First | Second | Third |
20
+ |:------|:-------|:------|
21
+ | 1 | 2 | 3 |</p>
35
22
  eos
36
23
 
37
24
  HtmlEmailCreator::Formatter.new(markdown).find(md).format.should eql(html.strip)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 4
9
- version: 1.0.4
8
+ - 5
9
+ version: 1.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Pekka Mattila