Commit 67f66852 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix regexp.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19475 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d32f7e42
...@@ -46,7 +46,7 @@ def register(): ...@@ -46,7 +46,7 @@ def register():
('<head [^>]>.*</head>(?im)', ''), ('<head [^>]>.*</head>(?im)', ''),
# added for ERP5, we want to transform <br/> in newlines # added for ERP5, we want to transform <br/> in newlines
('<br[\s\/]*>(?im)', '\n'), ('<br\s*/?>(?im)', '\n'),
('(?im)<(h[1-6r]|address|p|ul|ol|dl|pre|div|center|blockquote|form|isindex|table)(?=\W)[^>]*>', ' '), ('(?im)<(h[1-6r]|address|p|ul|ol|dl|pre|div|center|blockquote|form|isindex|table)(?=\W)[^>]*>', ' '),
('<[^>]*>(?i)(?m)', ''), ('<[^>]*>(?i)(?m)', ''),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment