fix right-to-left text direction for legacy Outlook clients

This commit is contained in:
Alex Turchyn
2024-01-14 17:55:49 +02:00
committed by Pete Matsyburka
parent 15ff4386e5
commit a573545ead
+1 -1
View File
@@ -6,7 +6,7 @@
<style> <style>
</style> </style>
</head> </head>
<body dir="auto"> <body dir="<%= yield&.match?(/[\p{Hebrew}\p{Arabic}]/) ? 'rtl' : 'auto' %>">
<%= yield %> <%= yield %>
<%= render partial: 'shared/mailer_attribution' %> <%= render partial: 'shared/mailer_attribution' %>
</body> </body>