[openstreetmap/openstreetmap-website] add dir="auto" to paragraphs of formatted text (PR #5835)

Nitai Sasson notifications at github.com
Fri Mar 21 21:32:27 UTC 2025


@NeatNit commented on this pull request.



> @@ -86,7 +86,7 @@ def linkify(text, mode = :urls)
 
   class HTML < Base
     def to_html
-      linkify(sanitize(simple_format(self)))
+      linkify(sanitize(simple_format(self, dir: "auto")))

Yup, that's what I thought. How about this? (commit I just pushed)

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

Message ID: <openstreetmap/openstreetmap-website/pull/5835/review/2707303642 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250321/a1bfe362/attachment.htm>


More information about the rails-dev mailing list