Skip to content

Commit 49fa14e

Browse files
bvallantFelixSchwarz
authored andcommitted
Fixes order of <v:fill> and <v:textbox> tags for mj-section with background in outlook
1 parent 350d072 commit 49fa14e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mjml/elements/mj_section.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ def renderWithBackground(self, content):
361361
return f'''
362362
<!--[if mso | IE]>
363363
<v:rect {vrect_attrs} >
364-
<v:textbox style="mso-fit-shape-to-text:true" inset="0,0,0,0">
365364
<v:fill {vfill_attrs} />
365+
<v:textbox style="mso-fit-shape-to-text:true" inset="0,0,0,0">
366366
<![endif]-->
367367
{content}
368368
<!--[if mso | IE]>

0 commit comments

Comments
 (0)