We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd5c23a + a00583a commit a852393Copy full SHA for a852393
app/helpers/messages_helper.rb
@@ -1,6 +1,6 @@
1
module MessagesHelper
2
def without_list_prefix(subject)
3
- subject.sub(/^\[.+\]\s*/, '')
+ subject.sub(/^\[.+?\]\s*/, '')
4
end
5
6
MARGIN = 50
0 commit comments