fix: preserve nested Word structures and synchronize valid font families
This commit is contained in:
@@ -93,7 +93,8 @@ def test_quoted_list_keeps_additive_nested_indents(tmp_path, engine):
|
||||
text=''.join(p.itertext())
|
||||
if text in ('Outer','Inner'):
|
||||
ind=p.find('w:pPr/w:ind',NS)
|
||||
assert int(ind.get(W+'left'))/20 == (36 if text=='Outer' else 72)
|
||||
# Include the quote container's 12 pt padding and 3 pt border.
|
||||
assert int(ind.get(W+'left'))/20 == (51 if text=='Outer' else 87)
|
||||
assert ind.get(W+'hangingChars','0')=='0'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user