List of steps to reproduce (step by step, including full links if applicable):
- Go to a cascade protected file, such as those on the Wikimedia Commons main page
- Click edit on a statement and remove it
- Click publish
Ugly HTML from the API
What should have happened instead?:
It should be parsed as HTML
The error is displayed correctly when you simply edit the statements, the API response appears to be the same for deleting or editing statements on a cascade protected file.