Cleanup markup for docs