Fixing a bug where a markup tag's contents cannot be purged by $markup->setContent(null)