html_pretty 0.2.0 → 0.2.1

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.
@@ -16,7 +16,7 @@ module HtmlPretty
16
16
  else
17
17
  # Remove all newlines within a tag definition
18
18
  # Example: '<a\nb=1\nc=2>' => '<a b=1 c=2>'
19
- blob = blob.split(/(<.*?>)/).map do |blub|
19
+ blob = blob.split(/(<.*?>)/m).map do |blub|
20
20
  if blub.start_with?('<')
21
21
  blub.gsub(/\n/, ' ')
22
22
  else
@@ -1,3 +1,3 @@
1
1
  module HtmlPretty
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_pretty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: