rescue Encoding::CompatibilityError

This commit is contained in:
Pete Matsyburka
2024-03-15 13:44:16 +02:00
parent 0274093c89
commit bd599c264f
2 changed files with 10 additions and 3 deletions
+2 -3
View File
@@ -3,10 +3,9 @@
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
</style>
<style></style>
</head>
<body dir="<%= yield&.match?(TextUtils::RTL_REGEXP) ? 'rtl' : 'auto' %>">
<body dir="<%= TextUtils.rtl?(yield) ? 'rtl' : 'auto' %>">
<%= yield %>
<%= render partial: 'shared/mailer_attribution' %>
</body>