Issue Bug Closed

#96218SpamAssasin HTML_MIME_NO_HTML_TAG

Marco von Arx 12/03/21, 11:52 updated 08/12/25, 14:36

Description

Because of the attribute data-namespace-typo3-fluid the html element is removed during rendering the template.

SpamAssassin reports HTML_MIME_NO_HTML_TAG. See attachment.

my work around is to copy and modify EXT:core/Resources/Private/Layouts/SystemEmail.html

from
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

to
{namespace f= TYPO3\CMS\Fluid\ViewHelpers}
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

data-namespace-typo3-fluid was introduced in v7.3 and may affect any typo3 version since then
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/7.3/Feature-66269-FluidRemoveViewHelperXmlnsAttributesAndSpecifiedHtmlTag.html

Reviews 3