From: Simon Legner Date: Mon, 14 Mar 2016 21:16:36 +0000 (+0100) Subject: Wrap user name in `bdi` to provide a separate RTL context X-Git-Tag: live~4434 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/f3fa97fc6315ad618a3b1d0dbc5febcfe853e141?ds=inline;hp=246d8a445267d2288143042ccb29ca2ce4fec9e8 Wrap user name in `bdi` to provide a separate RTL context Fixes #1179 Closes #1183 --- diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 9629e608b..a33214a70 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -119,7 +119,7 @@ <% end %> <%= user = (@prev_by_user || @next_by_user).user.display_name - link_to user, :controller => "changeset", :action => "list", :display_name => user + link_to content_tag(:bdi, user), :controller => "changeset", :action => "list", :display_name => user %> <% if @next_by_user %> ·