Lint errors: Misnested tag with different rendering in HTML5 and HTML4

Page title Misnesting (now broken) Through a template?
देहरादून (edit | history) span Output not from a single template
अलीगढ़ (edit | history) span Output not from a single template
विकियात्रा:प्रबंधक नामांकन (edit | history) span विकियात्रा:प्रबंधक नामांकन/मनीष पँवार
विकियात्रा:प्रबंधक नामांकन/मनीष पँवार (edit | history) span Output not from a single template