diff options
-rw-r--r-- | app/Issue/Text.hs | 2 |
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' |