tagify_string 1.0.4 → 1.0.5
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.
- data/lib/tagify_string/core_ext.rb +1 -1
- data/lib/tagify_string/version.rb +1 -1
- metadata +1 -1
@@ -26,7 +26,7 @@ String.class_eval do
|
|
26
26
|
end
|
27
27
|
|
28
28
|
# The Sonia Clause. Check for all garbage characters. Return an empty string in this case.
|
29
|
-
output = self.gsub("_", "").parameterize(opts[:sep])
|
29
|
+
output = self.gsub("_", " ").parameterize(opts[:sep])
|
30
30
|
return "" if output.length == 0
|
31
31
|
|
32
32
|
# Otherwise, attach prefix, process for case and send back.
|