private string MultipleIssuesDeDupe(Match m)
{
string newValue = m.Value;
string tags = Tools.GetTemplateArgument(newValue, 1);
List<string> tagValues = Parsers.DeduplicateMaintenanceTags((from Match n in WikiRegexes.NestedTemplates.Matches(tags)
select n.Value).ToList());
string newTags = string.Join("\r\n", tagValues.ToArray());
// only make change if some duplicate templates removed
if (Regex.Matches(newTags, "{{").Count < Regex.Matches(tags, "{{").Count)
newValue = newValue.Replace(tags, newTags);
return newValue;
}