fix right-to-left text direction for legacy Outlook clients
This commit is contained in:
committed by
Pete Matsyburka
parent
15ff4386e5
commit
a573545ead
@@ -6,7 +6,7 @@
|
||||
<style>
|
||||
</style>
|
||||
</head>
|
||||
<body dir="auto">
|
||||
<body dir="<%= yield&.match?(/[\p{Hebrew}\p{Arabic}]/) ? 'rtl' : 'auto' %>">
|
||||
<%= yield %>
|
||||
<%= render partial: 'shared/mailer_attribution' %>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user