Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer committed May 17, 2018
1 parent 36cd0f1 commit b27476c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/PortalTransforms/transforms/html_to_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ def sub_func(matchobj):
(u'<head [^>]>.*</head>(?im)', ' '),
(u'(?im)</?(font|em|i|strong|b)(?=\W)[^>]*>', ''),
(u'<[^>]*>(?i)(?m)', ' '),
(ur'&([a-zA-Z0-9#]*?);', sub_func),
(u'&([a-zA-Z0-9#]*?);', sub_func),
)

0 comments on commit b27476c

Please sign in to comment.