Bug #96218
openSpamAssasin HTML_MIME_NO_HTML_TAG
0%
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
Files
Updated by Marco von Arx almost 3 years ago
- Subject changed from SpamAssi HTML_MIME_NO_HTML_TAG to SpamAssasin HTML_MIME_NO_HTML_TAG
Updated by Georg Ringer almost 3 years ago
- Status changed from New to Needs Feedback
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
--uQoOTDuX Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <!doctype html> <head>
the attribute data-namespace-typo3-fluid
should be removed by fluid.composer show | grep fluid
shows me
typo3fluid/fluid 2.7.1
which fluid version are you using?
Updated by Marco von Arx almost 3 years ago
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)
Updated by Riccardo De Contardi about 2 years ago
- Status changed from Needs Feedback to New