More classes.
This commit is contained in:
parent
b890aba570
commit
c653f084ce
1 changed files with 2 additions and 0 deletions
|
@ -199,6 +199,7 @@ def remove_unwanted_classes_ids(soup):
|
||||||
r'c\d+',
|
r'c\d+',
|
||||||
r'calibre_?\d*',
|
r'calibre_?\d*',
|
||||||
r'calibre_pb_\d+',
|
r'calibre_pb_\d+',
|
||||||
|
r'calibreclass\d*',
|
||||||
r'chapter',
|
r'chapter',
|
||||||
r'div\d+',
|
r'div\d+',
|
||||||
r'dropcaps',
|
r'dropcaps',
|
||||||
|
@ -374,6 +375,7 @@ def replace_classes_real_tags(soup):
|
||||||
'span.small1': 'small',
|
'span.small1': 'small',
|
||||||
'span.smallcaps': 'small',
|
'span.smallcaps': 'small',
|
||||||
'span.smallCaps': 'small',
|
'span.smallCaps': 'small',
|
||||||
|
'span.smallCaps1': 'small',
|
||||||
'span.strike': 'strike',
|
'span.strike': 'strike',
|
||||||
'span.under': 'u',
|
'span.under': 'u',
|
||||||
'span.underline': 'u',
|
'span.underline': 'u',
|
||||||
|
|
Loading…
Reference in a new issue