Skip to content
Snippets Groups Projects
Commit 772f22c9 authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Merge branch '30-allow-paragraph-in-tag-names' into 'v1.3'

Allow § in tag names

See merge request !9
parents 6d1e12c1 a069c8c7
Branches
No related tags found
2 merge requests!17Stage System soll in Zukunft Master Branch erhalten,!9Allow § in tag names
...@@ -265,7 +265,7 @@ def next_extra_index(data): ...@@ -265,7 +265,7 @@ def next_extra_index(data):
def tag_name_validator(value, context): def tag_name_validator(value, context):
tagname_match = re.compile('[\w \-.\:\(\)\´\`]*$', re.UNICODE) tagname_match = re.compile(r'[\w \-.\:\(\)\´\`]*$', re.UNICODE)
if not tagname_match.match(value): if not tagname_match.match(value):
raise toolkit.Invalid(_('Tag "%s" must be alphanumeric ' raise toolkit.Invalid(_('Tag "%s" must be alphanumeric '
'characters or symbols: -_.:()') % (value)) 'characters or symbols: -_.:()') % (value))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment