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
commit c62d147254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@
private bool IsValidXML(string description) private bool IsValidXML(string description)
{ {
// must contain letters, digits, or spaces // 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) private void TemplateChanged(ChangeEventArgs e)