Steps to replicate the issue (include links if applicable):
- Go to https://en.wikipedia.beta.wmflabs.org/wiki/T342858 and edit the page
- Ensure syntax highlighting is enabled
- Make some changes, close the tab and re-open it
What happens?:
- Your edits are not recovered
- An entry is not created in IndexedDB
What should have happened instead?:
- Your edits are recovered
- An entry is created in IndexedDB
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- Disabling syntax highlighting and retrying the above repro steps will result in edits being recovered as expected