<commit_before><% page_title "People" %>
<% page_class "people-index" %>

<header class="block headings-block">
  <div class="inner-block floated-children">
    <%= render partial: 'shared/heading',
              locals: { type: "People",
                        heading: "All ministers &amp; senior officials on&nbsp;Inside&nbsp;Government" } %>
  </div>
</header>

<div class="block-2">
  <div class="inner-block">
    <section class="simple-alphabetical-list people">
      <% @people.group_by {|p| (p.surname || '-').first.upcase }.sort.each do |letter, people_group| %>
        <div class="alphabetical-row" id="people_<%= letter.downcase %>">
          <h2 class="alphabetical-list-letter"><%= letter %></h2>
          <ul>
          <% people_group.each do |person| %>
            <%= content_tag_for :li, person do %>
              <%= person.link %>
            <% end %>
          <% end %>
          </ul>
        </div>
      <% end %>
    </section>
  </div>
</div>
<commit_msg>Fix entities on people index page<commit_after><% page_title "People" %>
<% page_class "people-index" %>

<header class="block headings-block">
  <div class="inner-block floated-children">
    <%= render partial: 'shared/heading',
              locals: { type: "People",
                        heading: "All ministers &amp; senior officials on&nbsp;Inside&nbsp;Government".html_safe,
                        big: true } %>
  </div>
</header>

<div class="block-2">
  <div class="inner-block">
    <section class="simple-alphabetical-list people">
      <% @people.group_by {|p| (p.surname || '-').first.upcase }.sort.each do |letter, people_group| %>
        <div class="alphabetical-row" id="people_<%= letter.downcase %>">
          <h2 class="alphabetical-list-letter"><%= letter %></h2>
          <ul>
          <% people_group.each do |person| %>
            <%= content_tag_for :li, person do %>
              <%= person.link %>
            <% end %>
          <% end %>
          </ul>
        </div>
      <% end %>
    </section>
  </div>
</div>

{'fraction_non_alphanumeric': 0.18124084025403028, 'fraction_numerical': 0.0029311187103077674, 'mean_word_length': 2.287319422150883, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '1054882', 'n_tokens_mistral': 690, 'n_tokens_neox': 632, 'n_words': 139}