[openstreetmap/openstreetmap-website] Add dir=auto to user generated content (PR #3429)

Anton Khorev notifications at github.com
Tue May 20 14:24:49 UTC 2025


@AntonKhorev commented on this pull request.



> @@ -33,7 +34,7 @@ def index
              elsif current_user && current_user == target_user
                t ".my_gps_traces"
              else
-               t ".public_traces_from", :user => target_user.display_name
+               t ".public_traces_from_html", :user => tag.bdi(target_user.display_name)

Doesn't work as expected for some reason. That's what I see in the upper left corner on `/user/:name/traces` pages:

![image](https://github.com/user-attachments/assets/e69c44e3-cb62-4e22-8409-f9ce59e2594b)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3429#pullrequestreview-2854432515
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3429/review/2854432515 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250520/f8caecea/attachment.htm>


More information about the rails-dev mailing list