@@ -24,8 +24,8 @@ describe('mj-section gutter', function () {
2424 chai . expect ( html ) . to . include ( '.mj-column-per-48 { width:48% !important; max-width: 48%; }' )
2525 chai . expect ( html ) . to . include ( '.mj-column-gutter-2-1-per-4 { padding: 0% 2% 0% 0% !important; }' )
2626 chai . expect ( html ) . to . include ( '.mj-column-gutter-2-2-per-4 { padding: 0% 0% 0% 2% !important; }' )
27- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4 mj-outlook-group-fix "' )
28- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4 mj-outlook-group-fix "' )
27+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4"' )
28+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4"' )
2929 } )
3030
3131 it ( 'should keep rtl gutter rules isolated from ltr section gutter rules' , async function ( ) {
@@ -57,10 +57,10 @@ describe('mj-section gutter', function () {
5757 const { html, errors } = await mjml ( input )
5858
5959 chai . expect ( errors , 'rtl gutter should not produce validation errors' ) . to . eql ( [ ] )
60- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4 mj-outlook-group-fix "' )
61- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4 mj-outlook-group-fix "' )
62- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4-rtl mj-outlook-group-fix "' )
63- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4-rtl mj-outlook-group-fix "' )
60+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4"' )
61+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4"' )
62+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4-rtl"' )
63+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4-rtl"' )
6464 chai . expect ( html ) . to . include ( 'mj-column-gutter-2-1-per-4-rtl' )
6565 chai . expect ( html ) . to . include ( 'mj-column-gutter-2-2-per-4-rtl' )
6666 } )
@@ -86,10 +86,10 @@ describe('mj-section gutter', function () {
8686 const { html, errors } = await mjml ( input )
8787
8888 chai . expect ( errors , 'group gutter case should not produce validation errors' ) . to . eql ( [ ] )
89- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4 mj-outlook-group-fix "' )
90- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4 mj-outlook-group-fix "' )
91- chai . expect ( html ) . to . include ( 'style="font-size:0px;text-align:left;direction:ltr; display:inline-block;vertical-align:top;width:48%;padding:0% 2% 0% 0%;"' )
92- chai . expect ( html ) . to . include ( 'style="font-size:0px;text-align:left;direction:ltr; display:inline-block;vertical-align:top;width:48%;padding:0% 0% 0% 2%;"' )
89+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4"' )
90+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4"' )
91+ chai . expect ( html ) . to . include ( 'style="font-size:0px;text-align:left;display:inline-block;vertical-align:top;width:48%;padding:0% 2% 0% 0%;"' )
92+ chai . expect ( html ) . to . include ( 'style="font-size:0px;text-align:left;display:inline-block;vertical-align:top;width:48%;padding:0% 0% 0% 2%;"' )
9393 chai . expect ( html ) . to . not . include ( '.mj-column-gutter-2-1-per-4 { padding: 0% 2% 0% 0% !important; }' )
9494 chai . expect ( html ) . to . not . include ( '.mj-column-gutter-2-2-per-4 { padding: 0% 0% 0% 2% !important; }' )
9595 } )
@@ -114,8 +114,8 @@ describe('mj-section gutter', function () {
114114 const { html, errors } = await mjml ( input )
115115
116116 chai . expect ( errors , 'section full-width + border + rtl should not produce errors' ) . to . eql ( [ ] )
117- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4-rtl mj-outlook-group-fix "' )
118- chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4-rtl mj-outlook-group-fix "' )
117+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-1-per-4-rtl"' )
118+ chai . expect ( html ) . to . include ( 'class="mj-column-per-48 mj-column-gutter-2-2-per-4-rtl"' )
119119 chai . expect ( html ) . to . include ( '.mj-column-gutter-2-1-per-4-rtl { padding: 0% 0% 0% 2% !important; }' )
120120 chai . expect ( html ) . to . include ( '.mj-column-gutter-2-2-per-4-rtl { padding: 0% 2% 0% 0% !important; }' )
121121 } )
@@ -144,9 +144,9 @@ describe('mj-section gutter', function () {
144144 const { html, errors } = await mjml ( input )
145145
146146 chai . expect ( errors , 'group direction override should not produce errors' ) . to . eql ( [ ] )
147- chai . expect ( html ) . to . include ( 'class="mj-column-per-30-434783 mj-column-gutter-3-1-per-4-347826 mj-outlook-group-fix "' )
148- chai . expect ( html ) . to . include ( 'class="mj-column-per-30-434783 mj-column-gutter-3-2-per-4-347826 mj-outlook-group-fix "' )
149- chai . expect ( html ) . to . include ( 'class="mj-column-per-30-434783 mj-column-gutter-3-3-per-4-347826 mj-outlook-group-fix "' )
147+ chai . expect ( html ) . to . include ( 'class="mj-column-per-30-434783 mj-column-gutter-3-1-per-4-347826"' )
148+ chai . expect ( html ) . to . include ( 'class="mj-column-per-30-434783 mj-column-gutter-3-2-per-4-347826"' )
149+ chai . expect ( html ) . to . include ( 'class="mj-column-per-30-434783 mj-column-gutter-3-3-per-4-347826"' )
150150 chai . expect ( html ) . to . not . include ( 'mj-column-gutter-3-1-per-4-347826-rtl' )
151151 } )
152152
@@ -172,9 +172,9 @@ describe('mj-section gutter', function () {
172172 const { html, errors } = await mjml ( input )
173173
174174 chai . expect ( errors , 'column-level border/padding/inner-border with gutter should not error' ) . to . eql ( [ ] )
175- chai . expect ( html ) . to . include ( 'class="mj-column-per-30-666667 mj-column-gutter-3-1-per-4 mj-outlook-group-fix "' )
176- chai . expect ( html ) . to . include ( 'class="mj-column-per-30-666667 mj-column-gutter-3-2-per-4 mj-outlook-group-fix "' )
177- chai . expect ( html ) . to . include ( 'class="mj-column-per-30-666667 mj-column-gutter-3-3-per-4 mj-outlook-group-fix "' )
175+ chai . expect ( html ) . to . include ( 'class="mj-column-per-30-666667 mj-column-gutter-3-1-per-4"' )
176+ chai . expect ( html ) . to . include ( 'class="mj-column-per-30-666667 mj-column-gutter-3-2-per-4"' )
177+ chai . expect ( html ) . to . include ( 'class="mj-column-per-30-666667 mj-column-gutter-3-3-per-4"' )
178178 } )
179179
180180 it ( 'should support four-column px widths with percentage gutter and balanced px rounding' , async function ( ) {
@@ -202,10 +202,10 @@ describe('mj-section gutter', function () {
202202 const { html, errors } = await mjml ( input )
203203
204204 chai . expect ( errors , 'four-column px rounding scenario should not produce errors' ) . to . eql ( [ ] )
205- chai . expect ( html ) . to . include ( 'class="mj-column-px-111 mj-column-gutter-4-1-px-12 mj-outlook-group-fix "' )
206- chai . expect ( html ) . to . include ( 'class="mj-column-px-111 mj-column-gutter-4-2-px-12 mj-outlook-group-fix "' )
207- chai . expect ( html ) . to . include ( 'class="mj-column-px-111 mj-column-gutter-4-3-px-12 mj-outlook-group-fix "' )
208- chai . expect ( html ) . to . include ( 'class="mj-column-px-111 mj-column-gutter-4-4-px-12 mj-outlook-group-fix "' )
205+ chai . expect ( html ) . to . include ( 'class="mj-column-px-111 mj-column-gutter-4-1-px-12"' )
206+ chai . expect ( html ) . to . include ( 'class="mj-column-px-111 mj-column-gutter-4-2-px-12"' )
207+ chai . expect ( html ) . to . include ( 'class="mj-column-px-111 mj-column-gutter-4-3-px-12"' )
208+ chai . expect ( html ) . to . include ( 'class="mj-column-px-111 mj-column-gutter-4-4-px-12"' )
209209 chai . expect ( html ) . to . include ( '.mj-column-gutter-4-1-px-12 { padding: 0px 6px 0px 0px !important; }' )
210210 chai . expect ( html ) . to . include ( 'mj-column-gutter-4-2-px-12' )
211211 chai . expect ( html ) . to . include ( '.mj-column-gutter-4-4-px-12 { padding: 0px 0px 0px 6px !important; }' )
0 commit comments