We have some problems when we include static cms blocks into the template with our Magento

We include the cms block this way:

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('cms-block-name')->toHtml() ?>

The problem is that the Doctype and HTML-Structure is included everytime with the cms block. We don't know how and can't find a way to fix it.

closed as off-topic by David Manners, Dexter, Mufaddal, Matthias Zeis, davidalger Aug 1 '14 at 19:03

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – David Manners, Dexter, Mufaddal, Matthias Zeis, davidalger
If this question can be reworded to fit the rules in the help center, please edit the question.

  • This should't happen. Check if your block does not actually contain the doctype. Disable the editor and take a look at the actual content. – Marius Jul 22 '14 at 10:58
  • Hello Marius. We have searched a wile but we found the problem. We disabled extension after extension. Problem is the Ikantam_Internalseolinking extension. Now it still works an is valid. Patrick – user12411 Jul 23 '14 at 20:51
  • 1
    Post what you found as an answer and mark it as accepted. – Marius Jul 24 '14 at 6:18