mjmlio / mjml

MJML: the only framework that makes responsive-email easy
https://mjml.io
MIT License
17.08k stars 960 forks source link

API does not return the correct HTML for certain cases #1249

Closed atrujillofalcon closed 6 years ago

atrujillofalcon commented 6 years ago

I found an error while trying to use the API. I have a template that if I test it on https://mjml.io/try-it-live it works correctly, however when using the API the returning htlm is wrong and almost empty.

The error can be reproduced with the next CURL call:

curl -X POST \
  https://api.mjml.io/v1/render \
  -H 'Authorization: Basic XXXXXXXXX' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 2ba73707-fe2a-4c21-b43e-7311dc3ba4c9' \
  -d '{
    "mjml":"<mjml> <mj-head> <mj-title>Titulo email</mj-title> <mj-attributes> <mj-font name='\''Roboto'\'' href='\''https://fonts.googleapis.com/css?family=Roboto'\'' /> <mj-all font-family='\''Roboto, Arial'\'' text-align='\''left'\'' color='\''#656565'\'' font-size='\''16px'\''/> <!-- Variables color de fondo --> <mj-class name='\''bg-primary'\'' background-color='\''#2c00f8'\'' /> <mj-class name='\''bg-secondary'\'' background-color='\''#660000'\'' /> <mj-class name='\''bg-terciary'\'' background-color='\''#4cbb5f'\'' /> <!-- Variables color de tipografia --> <mj-class name='\''color-primary'\'' color='\''#656565'\'' /> <mj-class name='\''color-secondary'\'' color='\''#ffffff'\'' /> <mj-class name='\''color-terciary'\'' color='\''#212121'\'' /> <mj-class name='\''color-cuaternary'\'' color='\''#4cbb5f'\'' /> <!-- Helpers tamaño de tipografia --> <mj-class name='\''small'\'' font-size='\''10px'\'' line-height='\''11px'\'' /> <mj-class name='\''regular'\'' font-size='\''13px'\'' /> <mj-class name='\''big'\'' font-size='\''16px'\'' /> <mj-class name='\''big-price'\'' font-size='\''18px'\'' /> <!-- Helpers generales --> <mj-class name='\''bold'\'' font-weight='\''700'\'' /> <mj-class name='\''upper'\'' text-transform='\''uppercase'\'' /> <mj-class name='\''no-bt-padding'\'' padding-bottom='\''0'\''/> <mj-class name='\''no-tp-padding'\'' padding-top='\''0'\''/> <mj-class name='\''small-padding'\'' padding-top='\''10px'\'' padding-bottom='\''10px'\''/> <mj-class name='\''text-right'\'' text-align='\''right'\'' /> <mj-class name='\''full-width'\'' width='\''100%'\'' /> <mj-class name='\''primary-button'\'' height='\''45px'\'' width='\''100%'\'' color='\''#4cbb5f'\'' border='\''2px solid #4cbb5f'\'' background-color='\''transparent'\'' /> </mj-attributes> </mj-head> <mj-body> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''regular'\''>11 de Octubre 2017</mj-text> </mj-column> </mj-section> <mj-section mj-class='\''no-tp-padding'\''> <mj-column> <mj-image align='\''left'\'' width='\''139px'\'' height='\''50px'\'' src='\''/img/logo.png'\''></mj-image> </mj-column> <mj-column> <mj-text width='\''400px'\'' mj-class='\''color-terciary'\'' font-size='\''26px'\'' line-height='\''30px'\''>Titulo Lorem ipsum dolor sit amet</mj-text> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''regular no-bt-padding'\''>Vehiculo</mj-text> <mj-text mj-class='\''color-terciary'\''>Volkswagen / Golf GTI / Performance</mj-text> </mj-column> </mj-section> <mj-section> <mj-column> <mj-text mj-class='\''regular no-bt-padding'\''>Aplazamiento en meses</mj-text> <mj-text mj-class='\''color-terciary'\''>3 meses: Desde enero 2018</mj-text> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-table> <tr> <td style='\''padding-bottom:20px;'\''>Precio vehiculo</td> <td align='\''right'\'' style='\''font-weight:bold; font-size:18px; padding-bottom:20px; color:#212121;'\''> <span> <img height='\''15px'\'' src='\''/img/check.png'\'' style='\''border:0;outline:none;text-decoration:none;margin-right:25px;'\'' width='\''19'\'' /> 24.900,00 € </span> </td> </tr> <tr> <td style='\''padding-bottom:20px;'\''>Extras</td> <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>240,00 €</td> </tr> <tr> <td style='\''padding-bottom:20px;'\''>Descuento</td> <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>490,00 €</td> </tr> <tr> <td>Entrada</td> <td align='\''right'\'' style='\''color:#212121;'\''>5.400,00 €</td> </tr> </mj-table> </mj-column> </mj-section> <mj-section> <mj-column> <mj-divider border-width='\''1px'\'' border-style='\''solid'\'' border-color='\''#666666'\'' /> </mj-column> </mj-section> <mj-section mj-class='\''no-tp-padding'\''> <mj-column> <mj-table> <tr> <td >Importe total solicitado</td> <td align='\''right'\'' style='\''font-weight:bold; font-size:18px; color:#212121;'\''>19.740,00 €</td> </tr> </mj-table> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-table> <tr> <td style='\''padding-bottom:20px;'\''>Importe total a financiar*</td> <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>20.179,30 €</td> </tr> <tr> <td>Mensualidades</td> <td align='\''right'\'' style='\''font-weight:bold; font-size:18px; color:#212121;'\''>36</td> </tr> </mj-table> </mj-column> </mj-section> <mj-section> <mj-column> <mj-divider border-width='\''1px'\'' border-style='\''solid'\'' border-color='\''#666666'\'' /> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''big-price bold color-cuaternary'\''>Oferta Balloon</mj-text> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding no-tp-padding'\''> <mj-column> <mj-table> <tr> <td style='\''padding-bottom:20px;'\''>Cuota mensual</td> <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>305,09 €</td> </tr> <tr> <td style='\''padding-bottom:20px;'\''>Prima mensual del seguro**</td> <td align='\''right'\'' style='\''font-size:18px; padding-bottom:20px; color:#212121;'\''>34,98 €</td> </tr> </mj-table> </mj-column> </mj-section> <mj-section mj-class='\''bg-terciary small-padding'\''> <mj-column> <mj-table mj-class='\''color-secondary'\''> <tr> <td>Importe total a domiciliar</td> <td align='\''right'\'' style='\''font-size:32px; font-weight:bold;'\''>340,07 €</td> </tr> </mj-table> </mj-column> </mj-section> <mj-spacer height='\''40px'\'' /> <mj-section mj-class='\''no-tp-padding no-bt-padding'\''> <mj-column> <mj-table mj-class='\''color-cuaternary'\''> <tr> <td>Valor futuro garantizado</td> <td align='\''right'\''>7.456,00 €</td> </tr> </mj-table> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''small no-bt-padding'\''>Cuota mensual ultima cuota: 7.456,00 €</mj-text> <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>Prima mensual del seguro : 34,98 €</mj-text> <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>Importe mensual a domiciliar ultima cuota: 7.498,98 €</mj-text> <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>TIN: 6.95 %</mj-text> <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>TAE: 7,18 %</mj-text> <mj-text mj-class='\''small no-tp-padding'\''>Importe total adeudado: 20.303,12 €</mj-text> </mj-column> </mj-section> <mj-spacer height='\''40px'\'' /> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''big-price bold color-cuaternary'\''>Oferta Regular</mj-text> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding no-tp-padding'\''> <mj-column> <mj-table> <tr> <td style='\''padding-bottom:20px;'\''>Cuota mensual</td> <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>552,72 €</td> </tr> <tr> <td style='\''padding-bottom:20px;'\''>Prima mensual del seguro**</td> <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>34,98 €</td> </tr> </mj-table> </mj-column> </mj-section> <mj-section mj-class='\''bg-terciary small-padding'\''> <mj-column> <mj-table mj-class='\''color-secondary'\''> <tr> <td>Importe total a domiciliar</td> <td align='\''right'\'' style='\''font-size:32px; font-weight:bold;'\''>587,10 €</td> </tr> </mj-table> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>TIN: 6.95 %</mj-text> <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>TAE: 7,18 %</mj-text> <mj-text mj-class='\''small no-tp-padding'\''>Importe total adeudado: 20.303,12 €</mj-text> </mj-column> </mj-section> <mj-section> <mj-column> <mj-button href='\''#'\'' mj-class='\''primary-button'\''> <span> <img height='\''24px'\'' src='\''/img/poi.png'\'' style='\''vertical-align:sub;border:0;outline:none;text-decoration:none;margin-right:25px;'\'' width='\''20'\'' /> <span>Encuentra el concesionario más cercano</span> </span> </mj-button> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''small no-tp-padding'\''>* Gastos de formalización 3,00 % incuidos. En esta simulación 345,92 €</mj-text> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''small no-tp-padding'\''>** Texto legal seguro. Sed non vehicula mauris. Donec a ante a eros tristique tincidunt. Duis quis enim vel sem tristique imperdiet. Integer sit amet metus felis. Sed finibus ante id fermentum ultricies. Morbi ornare, est a tristique vulputate, nisl ipsum congue ligula, ut pharetra purus ligula sed neque. Aenean cursus lorem at risus sollicitudin facilisis.</mj-text> </mj-column> </mj-section> <mj-section mj-class='\''no-bt-padding'\''> <mj-column> <mj-text mj-class='\''small no-tp-padding'\''>Ejemplo para un préstamo de 10.000€ a 96 meses TIN 6,95% TAE 7,18% mensualidad 136,09€. Importe total adeudado 13.064,64€. Ejemplo para un préstamo de 5.000€ a 60 meses TIN 15,90% TAE 17,11% mensualidad 121,32€. Importe total adeudado, 7.279,20€. Para importes de préstamo desde 3.000€ hasta 50.000€. TIN desde 6,95% (7,18%TAE mínima) hasta 15,90% (17,11%TAE máxima). Duración comprendida entre 3 y 120 meses. El TIN podrá variar en función del importe, la duración y el destino del préstamo. Para destino préstamo Reunificación de Deudas el plazo máximo es de 120 meses y para Resto destinos el plazo máximo es de 96 meses. Para importe de préstamo inferior a 10.000€ el plazo máximo es de 60 meses, para importe igual o mayor a 10.000€ el plazo máximo es de 120 meses Oferta sujeta a la autorización previa de Banco Cetelem S.A.U. tras el estudio de la documentación aportada y la firma del contrato.</mj-text> </mj-column> </mj-section> <mj-spacer height='\''40px'\'' /> </mj-body> </mjml>"
}'

Expected behavior:

The HTML returned should be the same that return the "Try It Live" page:

<!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"> <head> <title> Titulo email </title> <!--[if !mso]><!-- --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--<![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css"> #outlook a { padding: 0; } .ReadMsgBody { width: 100%; } .ExternalClass { width: 100%; } .ExternalClass * { line-height: 100%; } body { margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } table, td { border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; } img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; } p { display: block; margin: 13px 0; } </style> <!--[if !mso]><!--> <style type="text/css"> @media only screen and (max-width:480px) { @-ms-viewport { width: 320px; } @viewport { width: 320px; } } </style> <!--<![endif]--> <!--[if mso]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <!--[if lte mso 11]> <style type="text/css"> .outlook-group-fix { width:100% !important; } </style> <![endif]--> <!--[if !mso]><!--> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css"> <style type="text/css"> @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700); </style> <!--<![endif]--> <style type="text/css"> @media only screen and (min-width:480px) { .mj-column-per-100 { width: 100% !important; } .mj-column-per-50 { width: 50% !important; } } </style> <style type="text/css"> </style> </head> <body> <div> <!--[if mso | IE]> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:13px;line-height:1;text-align:left;color:#656565;"> 11 de Octubre 2017 </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-top:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:300px;" > <![endif]--> <div class="mj-column-per-50 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table align="left" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;"> <tbody> <tr> <td style="width:139px;"> <img height="50px" src="/img/logo.png" style="border:0;display:block;outline:none;text-decoration:none;width:100%;" width="139" /> </td> </tr> </tbody> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> <td style="vertical-align:top;width:300px;" > <![endif]--> <div class="mj-column-per-50 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:26px;line-height:30px;text-align:left;color:#212121;"> Titulo Lorem ipsum dolor sit amet </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:13px;line-height:1;text-align:left;color:#656565;"> Vehiculo </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:16px;line-height:1;text-align:left;color:#212121;"> Volkswagen / Golf GTI / Performance </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:13px;line-height:1;text-align:left;color:#656565;"> Aplazamiento en meses </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:16px;line-height:1;text-align:left;color:#212121;"> 3 meses: Desde enero 2018 </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;"> <tr> <td style='padding-bottom:20px;'>Precio vehiculo</td> <td align='right' style='font-weight:bold; font-size:18px; padding-bottom:20px; color:#212121;'> <span> <img height='15px' src='/img/check.png' style='border:0;outline:none;text-decoration:none;margin-right:25px;' width='19' /> 24.900,00 € </span> </td> </tr> <tr> <td style='padding-bottom:20px;'>Extras</td> <td align='right' style='padding-bottom:20px; color:#212121;'>240,00 €</td> </tr> <tr> <td style='padding-bottom:20px;'>Descuento</td> <td align='right' style='padding-bottom:20px; color:#212121;'>490,00 €</td> </tr> <tr> <td>Entrada</td> <td align='right' style='color:#212121;'>5.400,00 €</td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td style="font-size:0px;padding:10px 25px;word-break:break-word;"> <p style="border-top:solid 1px #666666;font-size:1;margin:0px auto;width:100%;"> </p> <!--[if mso | IE]> <table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 1px #666666;font-size:1;margin:0px auto;width:550px;" role="presentation" width="550px" > <tr> <td style="height:0;line-height:0;"> &nbsp; </td> </tr> </table> <![endif]--> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-top:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;"> <tr> <td>Importe total solicitado</td> <td align='right' style='font-weight:bold; font-size:18px; color:#212121;'>19.740,00 €</td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;"> <tr> <td style='padding-bottom:20px;'>Importe total a financiar*</td> <td align='right' style='padding-bottom:20px; color:#212121;'>20.179,30 €</td> </tr> <tr> <td>Mensualidades</td> <td align='right' style='font-weight:bold; font-size:18px; color:#212121;'>36</td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td style="font-size:0px;padding:10px 25px;word-break:break-word;"> <p style="border-top:solid 1px #666666;font-size:1;margin:0px auto;width:100%;"> </p> <!--[if mso | IE]> <table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 1px #666666;font-size:1;margin:0px auto;width:550px;" role="presentation" width="550px" > <tr> <td style="height:0;line-height:0;"> &nbsp; </td> </tr> </table> <![endif]--> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:18px;font-weight:700;line-height:1;text-align:left;color:#4cbb5f;"> Oferta Balloon </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;"> <tr> <td style='padding-bottom:20px;'>Cuota mensual</td> <td align='right' style='padding-bottom:20px; color:#212121;'>305,09 €</td> </tr> <tr> <td style='padding-bottom:20px;'>Prima mensual del seguro**</td> <td align='right' style='font-size:18px; padding-bottom:20px; color:#212121;'>34,98 €</td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="background:#4cbb5f;background-color:#4cbb5f;Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#4cbb5f;background-color:#4cbb5f;width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:10px;padding-top:10px;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#ffffff;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;"> <tr> <td>Importe total a domiciliar</td> <td align='right' style='font-size:32px; font-weight:bold;'>340,07 €</td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="40" style="vertical-align:top;height:40px;"> <![endif]--> <div style="height:40px;"> &nbsp; </div> <!--[if mso | IE]> </td></tr></table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#4cbb5f;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;"> <tr> <td>Valor futuro garantizado</td> <td align='right'>7.456,00 €</td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> Cuota mensual ultima cuota: 7.456,00 € </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> Prima mensual del seguro : 34,98 € </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> Importe mensual a domiciliar ultima cuota: 7.498,98 € </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> TIN: 6.95 % </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> TAE: 7,18 % </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> Importe total adeudado: 20.303,12 € </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="40" style="vertical-align:top;height:40px;"> <![endif]--> <div style="height:40px;"> &nbsp; </div> <!--[if mso | IE]> </td></tr></table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:18px;font-weight:700;line-height:1;text-align:left;color:#4cbb5f;"> Oferta Regular </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;"> <tr> <td style='padding-bottom:20px;'>Cuota mensual</td> <td align='right' style='padding-bottom:20px; color:#212121;'>552,72 €</td> </tr> <tr> <td style='padding-bottom:20px;'>Prima mensual del seguro**</td> <td align='right' style='padding-bottom:20px; color:#212121;'>34,98 €</td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="background:#4cbb5f;background-color:#4cbb5f;Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#4cbb5f;background-color:#4cbb5f;width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:10px;padding-top:10px;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#ffffff;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;"> <tr> <td>Importe total a domiciliar</td> <td align='right' style='font-size:32px; font-weight:bold;'>587,10 €</td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> TIN: 6.95 % </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> TAE: 7,18 % </div> </td> </tr> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> Importe total adeudado: 20.303,12 € </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="center" vertical-align="middle" style="font-size:0px;padding:10px 25px;word-break:break-word;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;width:100%;line-height:100%;"> <tr> <td align="center" bgcolor="transparent" role="presentation" style="border:2px solid #4cbb5f;border-radius:3px;color:#4cbb5f;cursor:auto;height:45px;padding:10px 25px;" valign="middle"> <a href="#" style="background:transparent;color:#4cbb5f;font-family:Roboto, Arial;font-size:16px;font-weight:normal;line-height:120%;Margin:0;text-decoration:none;text-transform:none;" target="_blank"> <span> <img height='24px' src='/img/poi.png' style='vertical-align:sub;border:0;outline:none;text-decoration:none;margin-right:25px;' width='20' /> <span>Encuentra el concesionario más cercano</span> </span> </a> </td> </tr> </table> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> * Gastos de formalización 3,00 % incuidos. En esta simulación 345,92 € </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> ** Texto legal seguro. Sed non vehicula mauris. Donec a ante a eros tristique tincidunt. Duis quis enim vel sem tristique imperdiet. Integer sit amet metus felis. Sed finibus ante id fermentum ultricies. Morbi ornare, est a tristique vulputate, nisl ipsum congue ligula, ut pharetra purus ligula sed neque. Aenean cursus lorem at risus sollicitudin facilisis. </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" > <tr> <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"> <![endif]--> <div style="Margin:0px auto;max-width:600px;"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;text-align:left;vertical-align:top;"> <!--[if mso | IE]> <table role="presentation" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="vertical-align:top;width:600px;" > <![endif]--> <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" style="font-size:0px;padding:10px 25px;padding-top:0;word-break:break-word;"> <div style="font-family:Roboto, Arial;font-size:10px;line-height:11px;text-align:left;color:#656565;"> Ejemplo para un préstamo de 10.000€ a 96 meses TIN 6,95% TAE 7,18% mensualidad 136,09€. Importe total adeudado 13.064,64€. Ejemplo para un préstamo de 5.000€ a 60 meses TIN 15,90% TAE 17,11% mensualidad 121,32€. Importe total adeudado, 7.279,20€. Para importes de préstamo desde 3.000€ hasta 50.000€. TIN desde 6,95% (7,18%TAE mínima) hasta 15,90% (17,11%TAE máxima). Duración comprendida entre 3 y 120 meses. El TIN podrá variar en función del importe, la duración y el destino del préstamo. Para destino préstamo Reunificación de Deudas el plazo máximo es de 120 meses y para Resto destinos el plazo máximo es de 96 meses. Para importe de préstamo inferior a 10.000€ el plazo máximo es de 60 meses, para importe igual o mayor a 10.000€ el plazo máximo es de 120 meses. </div> </td> </tr> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <![endif]--> </td> </tr> </tbody> </table> </div> <!--[if mso | IE]> </td> </tr> </table> <table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="40" style="vertical-align:top;height:40px;"> <![endif]--> <div style="height:40px;"> &nbsp; </div> <!--[if mso | IE]> </td></tr></table> <![endif]--> </div> </body> </html>

Observed behavior:

The HTML returned is almost empty and don't reflects the mjml template fields:

Returned HTML:

<!doctype html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:o=\"urn:schemas-microsoft-com:office:office\">\n<head>\n  <title>Titulo email</title>\n  <!--[if !mso]><!-- -->\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n  <!--<![endif]-->\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<style type=\"text/css\">\n  #outlook a { padding: 0; }\n  .ReadMsgBody { width: 100%; }\n  .ExternalClass { width: 100%; }\n  .ExternalClass * { line-height:100%; }\n  body { margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }\n  table, td { border-collapse:collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; }\n  img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; }\n  p { display: block; margin: 13px 0; }\n</style>\n<!--[if !mso]><!-->\n<style type=\"text/css\">\n  @media only screen and (max-width:480px) {\n    @-ms-viewport { width:320px; }\n    @viewport { width:320px; }\n  }\n</style>\n<!--<![endif]-->\n<!--[if mso]>\n<xml>\n  <o:OfficeDocumentSettings>\n    <o:AllowPNG/>\n    <o:PixelsPerInch>96</o:PixelsPerInch>\n  </o:OfficeDocumentSettings>\n</xml>\n<![endif]-->\n<!--[if lte mso 11]>\n<style type=\"text/css\">\n  .outlook-group-fix {\n    width:100% !important;\n  }\n</style>\n<![endif]-->\n\n<!--[if !mso]><!-->\n    <link href=\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700\" rel=\"stylesheet\" type=\"text/css\">\n    <style type=\"text/css\">\n\n        @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);\n\n    </style>\n  <!--<![endif]--><style type=\"text/css\">\n  @media only screen and (min-width:480px) {\n    .mj-column-per-100 { width:100%!important; }\n  }\n</style>\n</head>\n<body>\n  \n  <div style=\"margin:0px auto;\" data-class=\"\"><table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" style=\"font-size:0px;width:100%;\" align=\"center\" border=\"0\"><tbody><tr><td style=\"text-align:left;vertical-align:top;direction:ltr;font-size:0px;padding:20px 0px;padding-bottom:0px;\"><!--[if mso | IE]>\n      <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n        <tr>\n          <td style=\"vertical-align:top;width:NaNpx;\">\n      <![endif]--><div class=\"mj-column-per-100 outlook-group-fix\" style=\"vertical-align:top;display:inline-block;direction:ltr;font-size:13px;text-align:left;width:100%;\"><table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\"><tbody><tr><td style=\"word-wrap:break-word;font-size:0px;padding:10px 25px;\" align=\"left\"><div style=\"cursor:auto;color:#656565;font-family:Roboto, Arial;font-size:13px;line-height:22px;text-align:left;\">11 de Octubre 2017</div></td></tr></tbody></table></div><!--[if mso | IE]>\n      </td></tr></table>\n      <![endif]--></td></tr></tbody></table></div>\n</body>\n</html>

API MJML 3.3.3

iRyusa commented 6 years ago

Hi,

The API hasn't yet been migrated to MJML4 as stated here #1197 so that's why.

On Wed, Jun 20, 2018 at 11:08 PM Arnaldo Trujillo Falcón < notifications@github.com> wrote:

I found an error while trying to use the API. I have a template that if I test it on https://mjml.io/try-it-live it works correctly, however when using the API the returning htlm is wrong and almost empty.

The error can be reproduced with the next CURL call:

curl -X POST \ https://api.mjml.io/v1/render \ -H 'Authorization: Basic NGViN2UyZmMtZjQyNi0xMWU2LTk3ZmUtNDIwMTBhMTAxNDAyOjhjYWVhNmU4LWEzYjEtNGU5MC1iMjdiLWI5ZTExNTczZmU3MQ==' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 2ba73707-fe2a-4c21-b43e-7311dc3ba4c9' \ -d '{ "mjml":" Titulo email <mj-font name='\''Roboto'\'' href='\''https://fonts.googleapis.com/css?family=Roboto'\'' /> <mj-all font-family='\''Roboto, Arial'\'' text-align='\''left'\'' color='\''#656565'\'' font-size='\''16px'\''/> <mj-class name='\''bg-primary'\'' background-color='\''#2c00f8'\'' /> <mj-class name='\''bg-secondary'\'' background-color='\''#660000'\'' /> <mj-class name='\''bg-terciary'\'' background-color='\''#4cbb5f'\'' /> <mj-class name='\''color-primary'\'' color='\''#656565'\'' /> <mj-class name='\''color-secondary'\'' color='\''#ffffff'\'' /> <mj-class name='\''color-terciary'\'' color='\''#212121'\'' /> <mj-class name='\''color-cuaternary'\'' color='\''#4cbb5f'\'' /> <mj-class name='\''small'\'' font-size='\''10px'\'' line-height='\''11px'\'' /> <mj-class name='\''regular'\'' font-size='\''13px'\'' /> <mj-class name='\''big'\'' font-size='\''16px'\'' /> <mj-class name='\''big-price'\'' font-size='\''18px'\'' /> <mj-class name='\''bold'\'' font-weight='\''700'\'' /> <mj-class name='\''upper'\'' text-transform='\''uppercase'\'' /> <mj-class name='\''no-bt-padding'\'' padding-bottom='\''0'\''/> <mj-class name='\''no-tp-padding'\'' padding-top='\''0'\''/> <mj-class name='\''small-padding'\'' padding-top='\''10px'\'' padding-bottom='\''10px'\''/> <mj-class name='\''text-right'\'' text-align='\''right'\'' /> <mj-class name='\''full-width'\'' width='\''100%'\'' /> <mj-class name='\''primary-button'\'' height='\''45px'\'' width='\''100%'\'' color='\''#4cbb5f'\'' border='\''2px solid #4cbb5f'\'' background-color='\''transparent'\'' /> <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''regular'\''>11 de Octubre 2017 <mj-section mj-class='\''no-tp-padding'\''> <mj-image align='\''left'\'' width='\''139px'\'' height='\''50px'\'' src='\''/img/logo.png'\''> <mj-text width='\''400px'\'' mj-class='\''color-terciary'\'' font-size='\''26px'\'' line-height='\''30px'\''>Titulo Lorem ipsum dolor sit amet <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''regular no-bt-padding'\''>Vehiculo <mj-text mj-class='\''color-terciary'\''>Volkswagen / Golf GTI / Performance <mj-text mj-class='\''regular no-bt-padding'\''>Aplazamiento en meses <mj-text mj-class='\''color-terciary'\''>3 meses: Desde enero 2018 <mj-section mj-class='\''no-bt-padding'\''> <td style='\''padding-bottom:20px;'\''>Precio vehiculo <td align='\''right'\'' style='\''font-weight:bold; font-size:18px; padding-bottom:20px; color:#212121;'\''> <img height='\''15px'\'' src='\''/img/check.png'\'' style='\''border:0;outline:none;text-decoration:none;margin-right:25px;'\'' width='\''19'\'' /> 24.900,00 € <td style='\''padding-bottom:20px;'\''>Extras <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>240,00 € <td style='\''padding-bottom:20px;'\''>Descuento <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>490,00 € Entrada <td align='\''right'\'' style='\''color:#212121;'\''>5.400,00 € <mj-divider border-width='\''1px'\'' border-style='\''solid'\'' border-color='\''#666666'\'' /> <mj-section mj-class='\''no-tp-padding'\''> Importe total solicitado <td align='\''right'\'' style='\''font-weight:bold; font-size:18px; color:#212121;'\''>19.740,00 € <mj-section mj-class='\''no-bt-padding'\''> <td style='\''padding-bottom:20px;'\''>Importe total a financiar <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>20.179,30 € Mensualidades <td align='\''right'\'' style='\''font-weight:bold; font-size:18px; color:#212121;'\''>36 <mj-divider border-width='\''1px'\'' border-style='\''solid'\'' border-color='\''#666666'\'' /> <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''big-price bold color-cuaternary'\''>Oferta Balloon <mj-section mj-class='\''no-bt-padding no-tp-padding'\''> <td style='\''padding-bottom:20px;'\''>Cuota mensual <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>305,09 € <td style='\''padding-bottom:20px;'\''>Prima mensual del seguro <td align='\''right'\'' style='\''font-size:18px; padding-bottom:20px; color:#212121;'\''>34,98 € <mj-section mj-class='\''bg-terciary small-padding'\''> <mj-table mj-class='\''color-secondary'\''> Importe total a domiciliar <td align='\''right'\'' style='\''font-size:32px; font-weight:bold;'\''>340,07 € <mj-spacer height='\''40px'\'' /> <mj-section mj-class='\''no-tp-padding no-bt-padding'\''> <mj-table mj-class='\''color-cuaternary'\''> Valor futuro garantizado <td align='\''right'\''>7.456,00 € <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''small no-bt-padding'\''>Cuota mensual ultima cuota: 7.456,00 € <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>Prima mensual del seguro : 34,98 € <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>Importe mensual a domiciliar ultima cuota: 7.498,98 € <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>TIN: 6.95 % <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>TAE: 7,18 % <mj-text mj-class='\''small no-tp-padding'\''>Importe total adeudado: 20.303,12 € <mj-spacer height='\''40px'\'' /> <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''big-price bold color-cuaternary'\''>Oferta Regular <mj-section mj-class='\''no-bt-padding no-tp-padding'\''> <td style='\''padding-bottom:20px;'\''>Cuota mensual <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>552,72 € <td style='\''padding-bottom:20px;'\''>Prima mensual del seguro <td align='\''right'\'' style='\''padding-bottom:20px; color:#212121;'\''>34,98 € <mj-section mj-class='\''bg-terciary small-padding'\''> <mj-table mj-class='\''color-secondary'\''> Importe total a domiciliar <td align='\''right'\'' style='\''font-size:32px; font-weight:bold;'\''>587,10 € <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>TIN: 6.95 % <mj-text mj-class='\''small no-tp-padding no-bt-padding'\''>TAE: 7,18 % <mj-text mj-class='\''small no-tp-padding'\''>Importe total adeudado: 20.303,12 € <mj-button href='\''#'\'' mj-class='\''primary-button'\''> <img height='\''24px'\'' src='\''/img/poi.png'\'' style='\''vertical-align:sub;border:0;outline:none;text-decoration:none;margin-right:25px;'\'' width='\''20'\'' /> Encuentra el concesionario más cercano <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''small no-tp-padding'\''> Gastos de formalización 3,00 % incuidos. En esta simulación 345,92 € <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''small no-tp-padding'\''>** Texto legal seguro. Sed non vehicula mauris. Donec a ante a eros tristique tincidunt. Duis quis enim vel sem tristique imperdiet. Integer sit amet metus felis. Sed finibus ante id fermentum ultricies. Morbi ornare, est a tristique vulputate, nisl ipsum congue ligula, ut pharetra purus ligula sed neque. Aenean cursus lorem at risus sollicitudin facilisis. <mj-section mj-class='\''no-bt-padding'\''> <mj-text mj-class='\''small no-tp-padding'\''>Ejemplo para un préstamo de 10.000€ a 96 meses TIN 6,95% TAE 7,18% mensualidad 136,09€. Importe total adeudado 13.064,64€. Ejemplo para un préstamo de 5.000€ a 60 meses TIN 15,90% TAE 17,11% mensualidad 121,32€. Importe total adeudado, 7.279,20€. Para importes de préstamo desde 3.000€ hasta 50.000€. TIN desde 6,95% (7,18%TAE mínima) hasta 15,90% (17,11%TAE máxima). Duración comprendida entre 3 y 120 meses. El TIN podrá variar en función del importe, la duración y el destino del préstamo. Para destino préstamo Reunificación de Deudas el plazo máximo es de 120 meses y para Resto destinos el plazo máximo es de 96 meses. Para importe de préstamo inferior a 10.000€ el plazo máximo es de 60 meses, para importe igual o mayor a 10.000€ el plazo máximo es de 120 meses Oferta sujeta a la autorización previa de Banco Cetelem S.A.U. tras el estudio de la documentación aportada y la firma del contrato. <mj-spacer height='\''40px'\'' /> " }'

Expected behavior:

The HTML returned should be the same that return the "Try It Live" page:

<!doctype html> Titulo email <!--[if !mso]>

11 de Octubre 2017
Titulo Lorem ipsum dolor sit amet
Vehiculo
Volkswagen / Golf GTI / Performance
Aplazamiento en meses
3 meses: Desde enero 2018
<table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;">
Precio vehiculo 24.900,00 €
Extras 240,00 €
Descuento 490,00 €
Entrada 5.400,00 €

<table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;">
Importe total solicitado 19.740,00 €
<table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;">
Importe total a financiar* 20.179,30 €
Mensualidades 36

Oferta Balloon
<table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;">
Cuota mensual 305,09 €
Prima mensual del seguro** 34,98 €
<table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#ffffff;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;">
Importe total a domiciliar 340,07 €
 
<table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#4cbb5f;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;">
Valor futuro garantizado 7.456,00 €
Cuota mensual ultima cuota: 7.456,00 €
Prima mensual del seguro : 34,98 €
Importe mensual a domiciliar ultima cuota: 7.498,98 €
TIN: 6.95 %
TAE: 7,18 %
Importe total adeudado: 20.303,12 €
 
Oferta Regular
<table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#656565;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;">
Cuota mensual 552,72 €
Prima mensual del seguro* 34,98 €
<table 0="[object Object]" 1="[object Object]" 2="[object Object]" border="0" style="cellspacing:0;color:#ffffff;font-family:Roboto, Arial;font-size:16px;line-height:22px;table-layout:auto;width:100%;">
Importe total a domiciliar 587,10 €
TIN: 6.95 %
TAE: 7,18 %
Importe total adeudado: 20.303,12 €
Gastos de formalización 3,00 % incuidos. En esta simulación 345,92 €
** Texto legal seguro. Sed non vehicula mauris. Donec a ante a eros tristique tincidunt. Duis quis enim vel sem tristique imperdiet. Integer sit amet metus felis. Sed finibus ante id fermentum ultricies. Morbi ornare, est a tristique vulputate, nisl ipsum congue ligula, ut pharetra purus ligula sed neque. Aenean cursus lorem at risus sollicitudin facilisis.
Ejemplo para un préstamo de 10.000€ a 96 meses TIN 6,95% TAE 7,18% mensualidad 136,09€. Importe total adeudado 13.064,64€. Ejemplo para un préstamo de 5.000€ a 60 meses TIN 15,90% TAE 17,11% mensualidad 121,32€. Importe total adeudado, 7.279,20€. Para importes de préstamo desde 3.000€ hasta 50.000€. TIN desde 6,95% (7,18%TAE mínima) hasta 15,90% (17,11%TAE máxima). Duración comprendida entre 3 y 120 meses. El TIN podrá variar en función del importe, la duración y el destino del préstamo. Para destino préstamo Reunificación de Deudas el plazo máximo es de 120 meses y para Resto destinos el plazo máximo es de 96 meses. Para importe de préstamo inferior a 10.000€ el plazo máximo es de 60 meses, para importe igual o mayor a 10.000€ el plazo máximo es de 120 meses.
 

Observed behavior:

The HTML returned is almost empty and don't reflects the mjml template fields:

Returned HTML:

<!doctype html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:o=\"urn:schemas-microsoft-com:office:office\">\n\n Titulo email\n <!--[if !mso]>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n \n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<style type=\"text/css\">\n #outlook a { padding: 0; }\n .ReadMsgBody { width: 100%; }\n .ExternalClass { width: 100%; }\n .ExternalClass * { line-height:100%; }\n body { margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }\n table, td { border-collapse:collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; }\n img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; }\n p { display: block; margin: 13px 0; }\n\n\n<style type=\"text/css\">\n @media only screen and (max-width:480px) {\n @-ms-viewport { width:320px; }\n @viewport { width:320px; }\n }\n\n\n\n\n\n\n <link href=\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700\" rel=\"stylesheet\" type=\"text/css\">\n <style type=\"text/css\">\n\n @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);\n\n \n <style type=\"text/css\">\n @media only screen and (min-width:480px) {\n .mj-column-per-100 { width:100%!important; }\n }\n\n\n\n \n <div style=\"margin:0px auto;\" data-class=\"\"><table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" style=\"font-size:0px;width:100%;\" align=\"center\" border=\"0\"><td style=\"text-align:left;vertical-align:top;direction:ltr;font-size:0px;padding:20px 0px;padding-bottom:0px;\"><div class=\"mj-column-per-100 outlook-group-fix\" style=\"vertical-align:top;display:inline-block;direction:ltr;font-size:13px;text-align:left;width:100%;\"><table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\"><td style=\"word-wrap:break-word;font-size:0px;padding:10px 25px;\" align=\"left\"><div style=\"cursor:auto;color:#656565;font-family:Roboto, Arial;font-size:13px;line-height:22px;text-align:left;\">11 de Octubre 2017\n\n

API MJML 3.3.3

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mjmlio/mjml/issues/1249, or mute the thread https://github.com/notifications/unsubscribe-auth/AAizzfqLIHd-LaDKpQV2MMf8AF9EMvXJks5t-rnYgaJpZM4Uv_ZV .

-- Cordialement, Maxime BRAZEILLES

atrujillofalcon commented 6 years ago

Thanks! Would be useful if the API return any error or warning in this cases.

iRyusa commented 6 years ago

It's really hard to detect v4 syntax in v3 context so that's why there's no error thrown.

We're focusing on the parser improvment in 4.1 before releasing the MJML4 update on the API

On Wed, Jun 20, 2018 at 11:46 PM Arnaldo Trujillo Falcón < notifications@github.com> wrote:

Thanks! Would be useful if the API return any error or warning in this cases.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mjmlio/mjml/issues/1249#issuecomment-398908059, or mute the thread https://github.com/notifications/unsubscribe-auth/AAizzSBPiP6dz-h9iPTT9YSv7o42V0dUks5t-sKygaJpZM4Uv_ZV .

atrujillofalcon commented 6 years ago

Where can I find the documentation about MJML 3.3.3 to migrate my current template?

iRyusa commented 6 years ago

You can find the doc for the old version on the github https://github.com/mjmlio/mjml/tree/3.3.x ( in doc & each packages folder )