- SS 2.4.0
Why does SS strip out closing iframe tags?
My page controller has a 'TextField' in the getCMSFields() function and the db array field is set as 'HTMLText.'
Note, it's not a TinyMCE issue as others have had, it's a straight text field not an HTMLEditorField.
When I paste iframe code into the field and hit "Save and Publish" the closing iframe tag is stripped out and a / is added to the opening iframe tag. This happens only if there is no space between the opening and closing tags. If I add a space, or presumably any character, the iframe tags are preserved as two separate tags.
Just wondering if this is a bug or there is some reason the system would to this by default. Is < iframe /> even a legal tag?
Chris.b