<commit_before>- like = quote.likes.select {|v| v.user == current_user}.first
- cache_if like, like do
  = link_to quote_like_path(quote), data: { toggle: "button" }, class: "btn up #{'active' if like}", remote: true, method: :post, id: dom_id(quote, :like_up), title: t('.like') do
    %i.icon-thumbs-up
    - if quote.likes_count > 0
      = pluralize quote.likes_count, t('.like')
    - else
      = t('.like')

%span.recent_likes
  - quote.recent_likes.each do |like|
    = user_avatar(like.user, size: '24x24', class: 'img-rounded user_avatar', no_link: true)
  = '...' if quote.likes.size > 4<commit_msg>Update like button markup<commit_after>- like = quote.likes.select {|v| v.user == current_user}.first
- cache_if like, like do
  = link_to quote_like_path(quote), data: { toggle: "button" }, class: "btn btn-default up #{'active' if like}", remote: true, method: :post, id: dom_id(quote, :like_up), title: t('.like') do
    %i.icon-thumbs-up
    - if quote.likes_count > 0
      = pluralize quote.likes_count, t('.like')
    - else
      = t('.like')

%span.recent_likes
  - quote.recent_likes.each do |like|
    = user_avatar(like.user, size: '24x24', class: 'img-rounded user_avatar', no_link: true)
  = '...' if quote.likes.size > 4
{'fraction_non_alphanumeric': 0.17282958199356913, 'fraction_numerical': 0.00964630225080386, 'mean_word_length': 3.611111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1760351', 'n_tokens_mistral': 476, 'n_tokens_neox': 458, 'n_words': 113}