Don't indent after a scene break.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Helfman 2022-09-23 21:50:21 -07:00
parent bc01805be6
commit f78f1755b9
1 changed files with 3 additions and 1 deletions

View File

@ -79,7 +79,9 @@ def double_space_and_indent(paragraphs):
# To reduce page count, allow splitting paragraphs across pages.
paragraph.paragraph_format.widow_control = False
this_paragraph_plaintext = not paragraph.style.name.startswith('Heading')
this_paragraph_plaintext = (
not paragraph.style.name.startswith('Heading') and paragraph.style.name != '0 Block'
)
# Indent first lines of paragraphs except for styled ones (headings, etc.) and initial
# paragraphs.