[LAW-3716]converter fix: change indent value to fixed

This commit is contained in:
shirshasa
2020-10-28 15:28:44 +03:00
parent bc67b8bbeb
commit 65cd124c9d
2 changed files with 2 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ class LawCartaConfig:
'#800000': '#800000',
'#808080': '#808080'
}
INDENT = '30px'
class BookApiWrapper:

View File

@@ -180,7 +180,7 @@ class HTMLPreprocessor:
if indent is not None:
indent = indent.group(1)
style += f'text-indent: {indent}in;'
style += f'text-indent: {LawCartaConfig.INDENT};'
if style:
p.attrs['style'] = style