diff --git a/cleanerupper/plugin.py b/cleanerupper/plugin.py index 3d172f8..5ffb558 100644 --- a/cleanerupper/plugin.py +++ b/cleanerupper/plugin.py @@ -199,6 +199,7 @@ def remove_unwanted_classes_ids(soup): r'c\d+', r'calibre_?\d*', r'calibre_pb_\d+', + r'calibreclass\d*', r'chapter', r'div\d+', r'dropcaps', @@ -374,6 +375,7 @@ def replace_classes_real_tags(soup): 'span.small1': 'small', 'span.smallcaps': 'small', 'span.smallCaps': 'small', + 'span.smallCaps1': 'small', 'span.strike': 'strike', 'span.under': 'u', 'span.underline': 'u',