Verified Commit 2a1b8342 authored by Korko's avatar Korko
Browse files

Also handle names with a hash as first character

parent 9ef986b9
Pipeline #365057 passed with stages
in 9 minutes and 56 seconds
......@@ -3768,7 +3768,7 @@ var formatMoment = function formatMoment(amount, unit) {
this.resetParticipants(); // Set participants
file.data.forEach(function (participant) {
if (participant[0] !== '' && participant[0][0] !== '#') {
if (participant[0] !== '' && participant.length >= 2) {
this.addParticipant(participant[0], participant[1], participant[2]);
}
}.bind(this));
......
......@@ -202,7 +202,7 @@
// Set participants
file.data.forEach(
function(participant) {
if (participant[0] !== '' && participant[0][0] !== '#') {
if (participant[0] !== '' && participant.length >= 2) {
this.addParticipant(participant[0], participant[1], participant[2]);
}
}.bind(this)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment