@AntonKhorev 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")))

[This 
helper](https://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-simple_format)
 is not called directly. Look at `def simple_format(text)` above in this file, 
it doesn't have extra arguments.

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

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

Reply via email to