The following is a boiled-down rendition of an HTML page found in the wild that froze my Scrivener session when pasted in. If you save it locally, it'll display with no difficulty in your browser, but if you then Select All and paste into Scriv for Windows, your session is as good as done. You'll have to end it with Task Manager or a similar tool.
Code: Select all
<body><img width="32">This page pasted in from a browser locks and freezes Scrivener 188.8.131.52
The problem is an IMG tag missing the SRC attribute. Improper, but doesn't warrant a freeze. While it may not be possible to code for specific cases, Scriv should time out and cancel the paste operation if it encounters a tag it can't handle or bypass.
Thanks for taking a look!