Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 8fbf17d

Browse files
committed
Merge pull request #1045 from Shredder121/json-squish
Reorder squish(), so it is performed on simple text
2 parents 791dfcd + 8365ef2 commit 8fbf17d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/strings.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def squish(str)
1616
end
1717

1818
def clean_for_json(str)
19-
strip_html(squish(str))
19+
squish(strip_html(str))
2020
end
2121
end
2222
end

0 commit comments

Comments
 (0)