let the direction_for helper return ltr instead of nothing for ltr text, this should fix #1668
This commit is contained in:
parent
00b0519ed3
commit
99751af5a8
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ module ApplicationHelper
|
|||
|
||||
def direction_for(string)
|
||||
return '' unless string.respond_to?(:cleaned_is_rtl?)
|
||||
string.cleaned_is_rtl? ? 'rtl' : ''
|
||||
string.cleaned_is_rtl? ? 'rtl' : 'ltr'
|
||||
end
|
||||
|
||||
def rtl?
|
||||
|
|
|
|||
Loading…
Reference in a new issue