[openstreetmap/openstreetmap-website] add dir="auto" to paragraphs in rich_text.rb (PR #5835)

Nitai Sasson notifications at github.com
Sat Mar 22 23:05:04 UTC 2025


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

For kramdown, this approach should work: https://codeberg.org/NeatNit/kramdown-bidi/src/branch/main/code.rb (the code works for sure but I haven't tested the results in a browser)

I've stayed up too late again... I'll add it to this PR tomorrow :)

Thanks to the Ruby Discord for helping me with syntax.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5835/c2745906943 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250322/40f89550/attachment.htm>


More information about the rails-dev mailing list