Merge pull request #3375 from leigh-pointer/AllowPunctuation
Module Creator allow punctuation in Description field
This commit is contained in:
commit
c62d147254
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user