<mj-raw> in <mj-head> doesn't work (content of mj-raw doesn't appear in rendered <head>)
See original GitHub issueReproduction Steps:
I put a following block in <mj-head>
, expecting the meta tag to appear in rendered html.
<!-- shis should work but it doesn't -->
<mj-raw>
<meta name="format-detection" content="telephone=no, address=no, email=no, date=no" />
</mj-raw>
Expected behavior:
<meta>
shows up in <head>
section of rendered html.
Observed behavior:
<meta>
tag is not there.
However, this hack works:
<!-- this hack works -->
<mj-style>
</style>
<meta name="format-detection" content="telephone=no, address=no, email=no, date=no" />
<style>
</mj-style>
MJML version:
4.0.3
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
mjml-raw-nominify - NPM Package Overview - Socket.dev
mj -raw. Displays raw HTML that is not going to be parsed by the MJML engine. Anything left inside this tag should be...
Read more >My custom HTML code doesn't render correctly on Gmail
My problem is: After creating a new email with “Code Mode”, editing the HTML, and saving the email, Mautic (or probably GrapesJS) refactor...
Read more >MJML (unofficial fork) - Visual Studio Marketplace
Launch VS Code Quick Open ( Ctrl+P ), paste the following command, ... wraps ... in mj-head tags which are only rendered when...
Read more >Knitted HTML not rendering properly, showing raw html only
When knitr to html from my project folder and I open it up in a browser the html file ... <head> <meta charset="utf-8"...
Read more >MJML: mj-include fails to read file - Stack Overflow
It does work for me when I put the <mj-include> elements after <mj-head> . Good luck! I'm interpreting the rest of your post...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No regression, more likely a version conflict on @donni106 side. Let’s keep the conversation in https://github.com/mjmlio/mjml/issues/82#issuecomment-451934759 to avoid spreading it across multiple issues.
Hi, It’s WIP addition for 4.2.X see #82 (some of tickets of 4.2 has been closed but not pushed yet, a beta should be released this week)