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

Nitai Sasson notifications at github.com
Fri Mar 21 23:20:51 UTC 2025


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

I know this hasn't seen any action in 3 years, but if this is ever picked up again you should know:

My PR #5835 applies `dir="auto"` to each paragraph individually in rich text content. This produces better results, in line with every other platform used today (e.g. this very comment, or your favorite instant messaging app). It also makes some - though definitely not all - of the changes in this PR redundant.

Non-rich text like usernames still needs this PR, but rich text that converts to HTML with `to_html` is better handled "upstream" by that conversion.

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

Message ID: <openstreetmap/openstreetmap-website/pull/3429/c2744664490 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250321/fa3edbc7/attachment-0001.htm>


More information about the rails-dev mailing list