Skip to content

Commit

Permalink
Fixed invalid escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Sep 9, 2020
1 parent 2c120b9 commit de7e19d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions news/3130.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed invalid escape sequence.
[maurits]
2 changes: 1 addition & 1 deletion plone/portlet/static/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class IStaticPortlet(IPortletDataProvider):
header = schema.TextLine(
title=_(u"Portlet header"),
description=_(u"Title of the rendered portlet"),
constraint=re.compile("[^\s]").match,
constraint=re.compile(r"[^\s]").match,
required=False)

directives.widget(text=RichTextFieldWidget)
Expand Down

0 comments on commit de7e19d

Please sign in to comment.