Skip to content

Commit 8365ef2

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)