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

Nitai Sasson notifications at github.com
Thu Apr 24 21:50:24 UTC 2025


NeatNit left a comment (openstreetmap/openstreetmap-website#3429)

Thank you @tomhughes for merging #5840 today! Let me know if there's any way I could help with this one.

In particular, there are small things I've missed in my PRs because I didn't have the capacity to test properly. Namely:

- Title of diary entries, both in [lists of diary entries](https://master.apis.dev.openstreetmap.org/diary/he) and in [the diary entry itself](https://master.apis.dev.openstreetmap.org/user/NeatNit_Dev/diary/39) (the `!` should appear at the left end of the title)
- Changeset description (`comment` tag) in history view, both [general](https://www.openstreetmap.org/history) and [user-specific](https://www.openstreetmap.org/user/NeatNit/history?after=163583490) - see screenshots:

Wrong:
![image](https://github.com/user-attachments/assets/ec06eeba-37ae-4ec4-8130-5ad313a16c99)
Right:
![image](https://github.com/user-attachments/assets/9dd0f911-5ec3-48ee-b2e8-622addd3112d)

I think this PR might already deal with at least one of those. Bug again, no capacity for me to test.

Also, semi-relatedly, I noticed that the title of a diary entry has "‎" in it. For example, with the website in Hebrew the title of [this page](https://www.openstreetmap.org/user/pehar_11/diary/406634) is:

```html
<title>היומן שלpehar_11 &rlm; | [u tijeku] Uređenje centra Rijeke | OpenStreetMap</title>
```

Clearly something needs fixing there. Haven't looked into it yet.

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

Message ID: <openstreetmap/openstreetmap-website/pull/3429/c2828944354 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250424/68c50dd7/attachment.htm>


More information about the rails-dev mailing list