zevarito-undress 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module Undress
12
12
 
13
13
  # table of contents
14
14
  pre_processing("ul.toc") do |toc|
15
- toc.swap "[[toc]]"
15
+ toc.swap "[[toc]]\n"
16
16
  end
17
17
 
18
18
  # headings
@@ -158,7 +158,7 @@ class Undress::GreenClothTest < Test::Unit::TestCase
158
158
  context "outline" do
159
159
  test "table of contents toc" do
160
160
  html = "<ul class='toc'><li class='toc1'><a href='#fruits'><span>1</span> Fruits</a></li><ul><li class='toc2'><a href='#tasty-apples'><span>1.1</span> Tasty Apples</a></li><ul><li class='toc3'><a href='green'><span>1.1.1</span> Green</a></li><li class='toc3'><a href='#red'><span>1.1.2</span> Red</a></li></ul>"
161
- greencloth = "[[toc]]"
161
+ greencloth = "[[toc]]\n"
162
162
  assert_renders_greencloth greencloth, html
163
163
  end
164
164
 
data/undress.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "undress"
3
- s.version = "0.2.1"
3
+ s.version = "0.2.2"
4
4
  s.date = "2009-07-29"
5
5
 
6
6
  s.description = "Simply translate HTML to Textile, Markdown, or whatever other markup format you need"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zevarito-undress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Nicol\xC3\xA1s Sanguinetti"