feat(convert): explicite l origine des dl

This commit is contained in:
François Poulain 2020-08-08 15:48:53 +02:00
parent 8c3944b5bf
commit cc923c59a2

View File

@ -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 += [