Skip to content

Commit

Permalink
Fixes order of <v:fill> and <v:textbox> tags for mj-section with back…
Browse files Browse the repository at this point in the history
…ground in outlook
  • Loading branch information
bvallant authored and FelixSchwarz committed Jan 9, 2025
1 parent 350d072 commit 49fa14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mjml/elements/mj_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ def renderWithBackground(self, content):
return f'''
<!--[if mso | IE]>
<v:rect {vrect_attrs} >
<v:textbox style="mso-fit-shape-to-text:true" inset="0,0,0,0">
<v:fill {vfill_attrs} />
<v:textbox style="mso-fit-shape-to-text:true" inset="0,0,0,0">
<![endif]-->
{content}
<!--[if mso | IE]>
Expand Down

0 comments on commit 49fa14e

Please sign in to comment.