Merge pull request #3375 from leigh-pointer/AllowPunctuation

Module Creator allow punctuation in Description field
This commit is contained in:
Shaun Walker
2023-10-13 08:46:15 -04:00
committed by GitHub

View File

@ -156,7 +156,7 @@
private bool IsValidXML(string description)
{
// must contain letters, digits, or spaces
return Regex.IsMatch(description, "^[A-Za-z0-9 ]+$");
return Regex.IsMatch(description, "^[A-Za-z0-9 .,!?]+$");
}
private void TemplateChanged(ChangeEventArgs e)