Using your code for inspiration I've done something similar with an unpublished plugin. Instead of using the shortcodes it using preg_replace to find the poor code which members of the team blog will have just copied and pasted and replace it with the XTHML instead.