diff options
-rw-r--r-- | module/plugins/internal/misc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py index 8dbe25dbe..dc2aa4517 100644 --- a/module/plugins/internal/misc.py +++ b/module/plugins/internal/misc.py @@ -38,7 +38,7 @@ except ImportError: class misc(object): __name__ = "misc" __type__ = "plugin" - __version__ = "0.29" + __version__ = "0.30" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -753,7 +753,7 @@ def parse_html_form(attr_str, html, input_names={}): action = parse_html_tag_attr_value("action", form.group('TAG')) for inputtag in re.finditer(r'(<(input|textarea).*?>)([^<]*(?=</\2)|)', - re.sub(r'<!--.+?-->', "", form.group('CONTENT'), 0 , re.I | re.S), re.I | re.S): + re.sub(re.compile(r'<!--.+?-->', re.I | re.S), "", form.group('CONTENT')), re.I | re.S): name = parse_html_tag_attr_value("name", inputtag.group(1)) if name: value = parse_html_tag_attr_value("value", inputtag.group(1)) |