User:Martijn Hoekstra/parsoidclean

User script to attach an action to preview that checks if the provided wikitext cleanly roundtrips in parsoid.

If it doesn't than one of more of the below are true
 * There is a bug in this script
 * There is a bug in parsoid
 * Your wikitext is plain evil