]> git.openstreetmap.org Git - rails.git/commitdiff
Wrap user name in `bdi` to provide a separate RTL context
authorSimon Legner <Simon.Legner@gmail.com>
Mon, 14 Mar 2016 21:16:36 +0000 (22:16 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 14 Mar 2016 21:20:03 +0000 (21:20 +0000)
Fixes #1179
Closes #1183

app/views/browse/changeset.html.erb

index 9629e608bf4130b132887a0bbc487b9c9da31782..a33214a70231955009b9546847a09f04cd750207 100644 (file)
     <% end %>
     <%=
         user = (@prev_by_user || @next_by_user).user.display_name
     <% 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 %>
       &middot;
     %>
     <% if @next_by_user %>
       &middot;