`<mj-raw>` contents must be in a new line to be output unmodified
See original GitHub issueThe following snippet will only output the second <?php endif ?>
<mj-raw><?php endif ?></mj-raw>
<mj-raw>
<?php endif ?>
</mj-raw>
Verifiable on try-it-live
Expected behavior:
<mj-raw>
contents should be output, untouched, even if the opening tag, content and closing tag are on the same line.
Observed behavior:
<mj-raw>
contents may be parsed/modified if the tags and content are on the same line
MJML version:
mjml-core: 4.1.2 mjml-cli: 4.1.2 Current mjml try-it-live
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Audits of Single Financial Statements and Specific ...
10 should include consideration of whether the application of the financial reporting framework will result in a presentation that provides adequate disclosures ...
Read more >Consolidated Audit Guide for Audits of ...
This audit guide is to assist the independent auditor (auditor) in performing audits of profit-motivated entities that are subject to the U.S. ...
Read more >R - do I need to add explicit new line character with print()?
The nature of R means that you're never going to have a newline in a character vector when you simply print it out....
Read more >fprintf output line break - MATLAB Answers
I am writing a code where under a string is generated and stored in an array. After the array is stored, I use...
Read more >Creating a New Line in C++
There are a few crucial components you need to output text in C++. Understanding how you can use these components will help to...
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
Looks like we’ve found a fix about this, so let’s hope it will be fixed in 4.3 👍
Yes that’s a whole can of worms I suppose, but as the workaround is quite easy (putting mj-raw content on a newline), the issue is less impacting.
Maybe it could be useful in the <mj-raw> component documentation to either point to this issue or explain the workaround there.