Describe the bugcut_trailing_sentence causes the final sentence of the text to not have a punctuation mark. If the result text were "You walk through the forest. You see a", calling cut_trailing_sentence gives back "You walk through the forest".
Expected behavior
The final sentence should end with a punctuation mark. Passing "You walk through the forest. You see a" to cut_trailing_sentence should return "You walk through the forest."
🐛 Bug Report
Describe the bug
cut_trailing_sentence
causes the final sentence of the text to not have a punctuation mark. If the result text were "You walk through the forest. You see a", callingcut_trailing_sentence
gives back "You walk through the forest".Expected behavior The final sentence should end with a punctuation mark. Passing "You walk through the forest. You see a" to
cut_trailing_sentence
should return "You walk through the forest."