mack_ruby_core_extensions 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/extensions/string.rb +1 -1
  2. metadata +1 -1
@@ -188,7 +188,7 @@ class String
188
188
  def breakify(every = 30)
189
189
  every = 1 if every < 1
190
190
  text = self
191
- textile_regex = /\"([^\"]+)\":([^:]*:[\/\/]{0,1}[^ ]*)/
191
+ textile_regex = /([^\"]+\"):([^:]*:[\/\/]{0,1}[^ ]*)/
192
192
  long_regex = /\S{#{every},}/
193
193
  brokentxt = text.gsub(long_regex) do |longword|
194
194
  if longword =~ textile_regex #if the longword is a textile link...ignore and recheck for the link text only
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack_ruby_core_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates