Merge branch 'develop' into refactoring

This commit is contained in:
shirshasa
2020-09-28 10:28:37 +03:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -551,7 +551,6 @@ class HTMLPreprocessor:
self._dfs(tag, is_first_span=True)
span_with_style_font = tag.find_all("span", {'style': re.compile(r'^font.+')})
if span_with_style_font:
for span in span_with_style_font:
span.unwrap()

View File

@@ -4,7 +4,9 @@ import codecs
import json
from copy import copy
from src.config import LawCartaConfig
from config import LawCartaConfig
class JSONConverter: