[openstreetmap/openstreetmap-website] Remove TagHelper include from RichText module (PR #5850)
Anton Khorev
notifications at github.com
Thu Mar 27 00:52:46 UTC 2025
We use TagHelper module to convert `:rel => "nofollow noopener noreferrer"` into `'rel="nofollow noopener noreferrer"'`, probably because [Rinku](https://github.com/vmg/rinku)'s readme says thet we can generate an attribute string from a hash. And to do that we have to call what is now a private method of TagHelper; maybe it wasn't private when the readme was last updated.
Or we could just write a string.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5850
-- Commit Summary --
* Remove TagHelper include from RichText module
-- File Changes --
M lib/rich_text.rb (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5850.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5850.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5850
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5850 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250326/279a7209/attachment.htm>
More information about the rails-dev
mailing list