In this case, custom-tags is blocklevel, and so Tidy should output them as blocklevel elements instead of inline.