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

> If you do this, you'd also set `dir=auto` on the entire comment.

This would not be useful. Each paragraph needs to have `dir="auto"` separately. 
Different paragraphs in the same comment can have a different direction. This 
is why it needs to be an argument to `simple_format`.

Thanks for the tip though, I will look into how to do that... Might not have to 
be in the same PR though. I don't want this PR to grow to the size of #3429 
handling each case separately. Perhaps your suggestion should be added there 
instead. As I said, even without `text-align`, just having `dir="auto"` already 
offers the most important benefit by correcting the placement of punctuation 
and mixed directionality text.

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/5835/c2744517...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to