Skip to content
This repository was archived by the owner on Jul 26, 2024. It is now read-only.

Commit 61f394c

Browse files
Always trim strings in a Note
1 parent 9d2fff0 commit 61f394c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/Note.purs

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,11 @@ fromShared (Just title) Nothing (Just text) =
175175

176176
fromShared title url text =
177177
Note
178-
{ title: title
178+
{ title: map trim title
179179
, url: url
180180
, keywords: Nothing
181181
, location: Nothing
182-
, shortDesc: text
182+
, shortDesc: map trim text
183183
, longDesc: Nothing
184184
}
185185

0 commit comments

Comments
 (0)