aboutsummaryrefslogtreecommitdiffstats
path: root/app/Issue
diff options
context:
space:
mode:
authorLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-13 19:38:30 +0200
committerLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-13 19:38:30 +0200
commit8455c677b4d1773d31ec7650c09774c85a78458d (patch)
tree7077001462df0cfc5c95d41239be1fc59acc9f37 /app/Issue
parente396bda3731edb3511781d94b1acae55ad2f68d5 (diff)
title cannot span multiple lines
Diffstat (limited to 'app/Issue')
-rw-r--r--app/Issue/Text.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Issue/Text.hs b/app/Issue/Text.hs
index 2637598..c8b97d7 100644
--- a/app/Issue/Text.hs
+++ b/app/Issue/Text.hs
@@ -16,7 +16,7 @@ extractText fileType rawText = (title, description)
where
text = stripComments fileType $ stripLines rawText
stripLines = T.intercalate "\n" . map T.strip . T.lines
- (title, description') = second T.stripStart $ T.breakOn "\n\n" text
+ (title, description') = second T.stripStart $ T.breakOn "\n" text
description
| T.null description' = Nothing
| otherwise = Just description'