While editing a book, I have frequently encountered an issue where the "Mend and Prettify" function does not execute. This behavior started occurring after upgrading to version 2.8.0, so I am reporting it as a potential bug.
Symptoms:
"Mend and Prettify" does not work (the tags are not cleaned up/formatted).
Sigil Version: 2.8.0
Steps to Reproduce (Context):
1. Have multiple XHTML files in the project.
2. Split a file at an arbitrary point using Ctrl+Enter.
3. Run "Mend and Prettify" in the newly split file, and the tag formatting/cleanup fails to apply.
This does not happen 100% of the time, but it occurs frequently during actual book editing. When I try to deliberately replicate the bug by creating a mock scenario and pressing Ctrl+Enter to split a file, it sometimes works normally. While I haven't figured out the exact, definitive steps to reproduce it consistently yet, I am reporting this since it happens so often in practice. I will provide additional details as soon as I identify the precise triggering conditions.
Symptoms:
"Mend and Prettify" does not work (the tags are not cleaned up/formatted).
Sigil Version: 2.8.0
Steps to Reproduce (Context):
1. Have multiple XHTML files in the project.
2. Split a file at an arbitrary point using Ctrl+Enter.
3. Run "Mend and Prettify" in the newly split file, and the tag formatting/cleanup fails to apply.
This does not happen 100% of the time, but it occurs frequently during actual book editing. When I try to deliberately replicate the bug by creating a mock scenario and pressing Ctrl+Enter to split a file, it sometimes works normally. While I haven't figured out the exact, definitive steps to reproduce it consistently yet, I am reporting this since it happens so often in practice. I will provide additional details as soon as I identify the precise triggering conditions.






