diff --git a/gruut/text_processor.py b/gruut/text_processor.py index 10349b4..fe889af 100644 --- a/gruut/text_processor.py +++ b/gruut/text_processor.py @@ -772,8 +772,9 @@ def in_inline_lexicon( # End of sentence last_sentence = None elif end_tag == "p": - # End of paragraph + # End of paragraph and sentence last_paragraph = None + last_sentence = None elif end_tag == "speak": # End of speak last_speak = root