listen360-rubyXL 1.2.10.1 → 1.2.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rubyXL/parser.rb +4 -1
  2. data/rubyXL.gemspec +1 -1
  3. metadata +3 -3
@@ -55,7 +55,10 @@ module RubyXL
55
55
  unless node.css('r').empty?
56
56
  text = node.css('r t').children.to_a.join
57
57
  node.children.remove
58
- # node << "<t xml:space=\"preserve\">#{text}</t>"
58
+ new_node = Nokogiri::XML::Node.new("t", node)
59
+ new_node.content = text
60
+ new_node['xml:space'] = 'preserve'
61
+ node << new_node
59
62
  end
60
63
  end
61
64
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{listen360-rubyXL}
8
- s.version = "1.2.10.1"
8
+ s.version = "1.2.10.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Vivek Bhagwat"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: listen360-rubyXL
3
3
  version: !ruby/object:Gem::Version
4
- hash: 101
4
+ hash: 99
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 10
10
- - 1
11
- version: 1.2.10.1
10
+ - 2
11
+ version: 1.2.10.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Vivek Bhagwat