html2tex 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ class HTML2TeX
32
32
  end
33
33
 
34
34
  def text(s)
35
- tex_escape(@decoder.decode(RubyPants.new(s).to_html))
35
+ tex_escape(@decoder.decode(RubyPants.new(@decoder.decode(s)).to_html))
36
36
  end
37
37
 
38
38
  def tex_escape(s)
@@ -1,3 +1,3 @@
1
1
  class HTML2TeX
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html2tex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Battley