feat(convert): explicite l origine des dl
This commit is contained in:
parent
8c3944b5bf
commit
cc923c59a2
@ -45,7 +45,7 @@ def strong_to_dl(html):
|
|||||||
for key, group in grouped_items:
|
for key, group in grouped_items:
|
||||||
group = list(group)
|
group = list(group)
|
||||||
if key and len(group) > 2:
|
if key and len(group) > 2:
|
||||||
dl = ['<dl>']
|
dl = ['<dl class="strong_to_dl">']
|
||||||
for elem in group:
|
for elem in group:
|
||||||
match = re.match(is_strong, elem).groupdict()
|
match = re.match(is_strong, elem).groupdict()
|
||||||
dl += [
|
dl += [
|
||||||
|
Loading…
Reference in New Issue
Block a user