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

Commit 8365ef2

Browse files
committed
Reorder squish(), so it is performed on simple text
1 parent 791dfcd commit 8365ef2

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)