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

Commit

Permalink
Always trim strings in a Note
Browse files Browse the repository at this point in the history
  • Loading branch information
Release-Candidate committed Feb 18, 2022
1 parent 9d2fff0 commit 61f394c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Data/Note.purs
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ fromShared (Just title) Nothing (Just text) =

fromShared title url text =
Note
{ title: title
{ title: map trim title
, url: url
, keywords: Nothing
, location: Nothing
, shortDesc: text
, shortDesc: map trim text
, longDesc: Nothing
}

Expand Down

0 comments on commit 61f394c

Please sign in to comment.