wunderbar 0.10.7 → 0.10.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -230,7 +230,7 @@ class HtmlMarkup < Wunderbar::BuilderBase
230
230
  children.pop if children.last.text.strip.empty?
231
231
 
232
232
  children.each do |child|
233
- if child.text?
233
+ if child.text? or child.cdata?
234
234
  text = child.text
235
235
  if text.strip.empty?
236
236
  @x.text! "\n" if text.count("\n")>1
@@ -2,7 +2,7 @@ module Wunderbar
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 10
5
- TINY = 7
5
+ TINY = 8
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/wunderbar.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "wunderbar"
5
- s.version = "0.10.7"
5
+ s.version = "0.10.8"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sam Ruby"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wunderbar
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 39
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 7
10
- version: 0.10.7
9
+ - 8
10
+ version: 0.10.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sam Ruby