aboutsummaryrefslogtreecommitdiffstats
path: root/app/Issue/Text.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Issue/Text.hs')
-rw-r--r--app/Issue/Text.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Issue/Text.hs b/app/Issue/Text.hs
index 190e1c7..2d3aac4 100644
--- a/app/Issue/Text.hs
+++ b/app/Issue/Text.hs
@@ -16,9 +16,7 @@ extractText fileType rawText = (title, description)
where
text = stripComments fileType $ stripLines rawText
stripLines = T.unlines . map T.strip . T.lines
- (title, description') =
- second T.stripStart $
- T.breakOn "\n\n" text
+ (title, description') = second T.stripStart $ T.breakOn "\n\n" text
description
| T.null description' = Nothing
| otherwise = Just description'