#96218SpamAssasin HTML_MIME_NO_HTML_TAG
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
Files 1
History 915
-
Marco von Arx changed subject
SpamAssi HTML_MIME_NO_HTML_TAGSpamAssasin HTML_MIME_NO_HTML_TAG <span data-processor="relativetime" data-value="2021-12-03T11:52:56+00:00" > 12/03/21, 11:52 </span> -
Georg Ringer commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2021-12-07T10:14:57+00:00" > 12/07/21, 10:14 </span> -
Marco von Arx commented <span data-processor="relativetime" data-value="2021-12-07T11:50:18+00:00" > 12/07/21, 11:50 </span>
Version is 2.6.10, which is shipped with typo3 v10.4.20
In your output i see that the html-tag is also missing.
Between doctype (line 5) and head (line 7) should be a html-tag.
fluid entirely removes the html-tag (because of data-namespace-typo3-fluid) -
Riccardo De Contardi changed status
Needs FeedbackNew <span data-processor="relativetime" data-value="2022-09-24T15:22:54+00:00" > 09/24/22, 15:22 </span> -
Benni Mack commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2024-12-11T14:29:53+00:00" > 12/11/24, 14:29 </span>Hey,
can you recheck with v12 or v13? We now fixed a lot of things in fluid v4.
-
Gerrit Code Review pushed patch set 1 for main to change 87464 status
Needs FeedbackUnder Review <span data-processor="relativetime" data-value="2024-12-12T08:13:56+00:00" > 12/12/24, 08:13 </span> -
Garvin Hicking commented and changed target version <span data-processor="relativetime" data-value="2024-12-12T08:14:44+00:00" > 12/12/24, 08:14 </span>
@benni
In fact also v14 main still strips<html...>
from the output. I’ve pushed a patch. -
Gerrit Code Review pushed patch set 2 for main to change 87464 <span data-processor="relativetime" data-value="2024-12-12T08:17:18+00:00" > 12/12/24, 08:17 </span>
-
Marco von Arx commented <span data-processor="relativetime" data-value="2024-12-12T08:19:38+00:00" > 12/12/24, 08:19 </span>
Benni Mack wrote in #note-5:
> Hey,
>
> can you recheck with v12 or v13? We now fixed a lot of things in fluid v4.I can confirm that v12 strips html tag
-
Gerrit Code Review pushed patch set 3 for main to change 87464 <span data-processor="relativetime" data-value="2024-12-12T09:03:00+00:00" > 12/12/24, 09:03 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 87464 <span data-processor="relativetime" data-value="2024-12-16T07:32:43+00:00" > 12/16/24, 07:32 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 87512 <span data-processor="relativetime" data-value="2024-12-16T15:39:06+00:00" > 12/16/24, 15:39 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 87513 <span data-processor="relativetime" data-value="2024-12-16T15:39:26+00:00" > 12/16/24, 15:39 </span>
-
Garvin Hicking commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2024-12-16T16:00:16+00:00" > 12/16/24, 16:00 </span>Applied in changeset commit:da6576ad2282f2a22c452f624c98d5416efcf000.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-08-12T14:36:23+00:00" > 08/12/25, 14:36 </span>
I just tested this in latest master but should be the same in 10.4 as well, e.g. by using the Test mail feature in the Install Tool
the output of the mail is
the attribute
data-namespace-typo3-fluidshould be removed by fluid.@composer show | grep fluid@ shows me
which fluid version are you using?