[openstreetmap/openstreetmap-website] Enable some Herb HTML linting rules (PR #6798)

Tom Hughes notifications at github.com
Thu Feb 12 00:14:35 UTC 2026


@tomhughes commented on this pull request.



> @@ -14,7 +14,7 @@
     <% @comments.each do |comment| -%>
     <tr>
       <td width="25%" class="<%= "text-muted" unless comment.visible? %>"><%= link_to comment.changeset.id, changeset_path(comment.changeset) %></td>
-      <td width="25%" class="<%= "text-muted" unless comment.visible? %>"><span title="<%= l comment.created_at, :format => :friendly %>"><%= time_ago_in_words(comment.created_at, :scope => :"datetime.distance_in_words_ago") %></span></td>
+      <td width="25%" class="<%= "text-muted" unless comment.visible? %>"><%= friendly_date_ago comment.created_at %></td>

I mean that is still using `title` you're stopping herb from seeing it...

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

Message ID: <openstreetmap/openstreetmap-website/pull/6798/review/3788120664 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260211/25a26c51/attachment.htm>


More information about the rails-dev mailing list