Steps to replicate the issue (include links if applicable):
- Log in to the iOS (iPad) Wikipedia app
- Open an article
- Tap "..." and then "Article revision history"
What happens?:
App crashes
What should have happened instead?:
Revision history displayed
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- iPadOS 17.5.1 (21F90)
- App 7.5.6 (3814)
(above gif cuts off a little early but might be helpful to show behaviour?)
Engineering notes:
Fix crash in HtmlUtils.stringFromHTML
Xcode is reporting some crashes in the HtmlUtils.stringFromHTML method. Stack trace indicates it's from PageHistoryViewController.configure(cell:for:at:) method in 7.5.6 (3814). We also see it from the WMFWatchlistViewModel.ItemViewModel.comment.getter method in 7.5.7 (3841).