DEV: Ignore duplicate prefixes when generating release notes

DEV: Ignore duplicate prefixes when generating release notes

diff --git a/lib/tasks/release_note.rake b/lib/tasks/release_note.rake
index 0920be7..ba5cc88 100644
--- a/lib/tasks/release_note.rake
+++ b/lib/tasks/release_note.rake
@@ -66,6 +66,7 @@ def split_comments(text)
   text = normalize_terms(text)
   terms = ["FIX:", "FEATURE:", "UX:", "SECURITY:" , "PERF:"]
   terms.each do |term|
+    text = text.gsub(/(#{term})+/i, term)
     text = newlines_at_term(text, term)
   end
   text.split("\n")

GitHub sha: 874985db