Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mj-raw php issue #935

Closed
kukac7 opened this issue Jan 8, 2018 · 2 comments
Closed

mj-raw php issue #935

kukac7 opened this issue Jan 8, 2018 · 2 comments
Labels
Milestone

Comments

@kukac7
Copy link
Contributor

kukac7 commented Jan 8, 2018

input:

<mj-raw>
	@foreach ($items as $item)
</mj-raw>
<mj-text font-size="30px" line-height="34px" color="#ffe40c" font-weight="bold" text-transform="uppercase" align="center" padding-bottom="20px" padding-left="40px" padding-right="40px">{{ $item }}</mj-text>
<mj-raw>
	@endforeach
</mj-raw>

output:

<div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:bottom;width:100%;">
    <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:bottom;" width="100%">
        <tr>
            <td style="font-size:0px;word-break:break-word;"> @foreach ($items as $item) </td>
         </tr>
         <tr>
             <td align="center" style="font-size:0px;padding:10px 25px;padding-right:40px;padding-bottom:20px;padding-left:40px;word-break:break-word;">
                 <div style="font-family:Arial;font-size:30px;font-weight:bold;line-height:34px;text-align:center;text-transform:uppercase;color:#ffe40c;"> {{ $item }} </div>
              </td>
          </tr>
          <tr>
               <td style="font-size:0px;word-break:break-word;"> @endforeach </td>
           </tr>
     </table>
</div>

MJML version:

next

@iRyusa
Copy link
Member

iRyusa commented Jan 8, 2018

Hi @kukac7

Thanks for reporting this, looks like mj-raw miss the rawComponent
(cc @kmcb777 can you fix that for the first beta ?)

@iRyusa iRyusa added the MJML 4 label Jan 8, 2018
@kukac7
Copy link
Contributor Author

kukac7 commented Jan 8, 2018

thanks @iRyusa!
when is beta expected?
i'll help if i can. 😉

kmcb777 added a commit that referenced this issue Jan 10, 2018
@ngarnier ngarnier added this to Soon to be released in MJML Roadmap Jan 16, 2018
@ngarnier ngarnier added this to the 4.0.0 milestone Jan 25, 2018
@iRyusa iRyusa closed this as completed in 86e5a9f Jan 31, 2018
@ngarnier ngarnier moved this from Soon to be released to Released in MJML Roadmap Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
MJML Roadmap
  
Released
Development

No branches or pull requests

3 participants