Module Creator all punctuation in description
Modified the Regex to all punctuation in the description.
This commit is contained in:
parent
acf71cc2c2
commit
75fc318da0
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user