[TYPO3-english] 'Content Type HTML' adds html heading tags when inserting an iframe
Luis E. Suarez
nospam at please.com
Wed Aug 10 14:25:37 CEST 2016
Hi all,
Why the 'Content Type HTML' adds those additional HTML heading tags when
inserting an iframe calling a php script?
This happens using TYPO3 4.5 to 6.2.26. Have not tested vers. 7, 8 yet
I use Content Type HTML to insert iframes containing results from a php
script. The problem is that TYPO3 surrounds the iframe content with
<HTML>, <HEAD> and <BODY> tags. Furthermore the additional <HTML> tag is
closed twice as shown in the example bellow:
<!DOCTYPE html>
<html>
---
<head>
---
</head>
<body>
---
<html>
<head></head>
<body>
My iframe HTML resultant code
</body>
</html>
</html>
---
</body>
</html>
By the way, running the php script directly from the browser generates a
clean HTML code.
Any idea how to get rid of those extra tags?
Thanks
More information about the TYPO3-english
mailing list