<commit_before><li>
  <a href="<%= menu_enrollment[:enrollment].workflow_state == "invited" ? course_path(menu_enrollment[:enrollment].course_id, :invitation => menu_enrollment[:enrollment].uuid) : course_path(menu_enrollment[:enrollment].course_id) %>">
    <span class="name ellipsis" title="<%= menu_enrollment[:enrollment].long_name %>"><%= menu_enrollment[:enrollment].short_name %></span>
    <span class="subtitle ellipsis"><%= menu_enrollment[:enrollment].workflow_state == "invited" ? content_tag('b', 'Invited') : "Enrolled" %> as a <%= menu_enrollment[:types].sort.map{|t| content_tag('b', t) }.uniq.to_sentence %></span> 
  </a>  
</li>
<commit_msg>escaping of enrollments in course drop down, fixes #3907<commit_after><li>
  <a href="<%= menu_enrollment[:enrollment].workflow_state == "invited" ? course_path(menu_enrollment[:enrollment].course_id, :invitation => menu_enrollment[:enrollment].uuid) : course_path(menu_enrollment[:enrollment].course_id) %>">
    <span class="name ellipsis" title="<%= menu_enrollment[:enrollment].long_name %>"><%= menu_enrollment[:enrollment].short_name %></span>
    <span class="subtitle ellipsis"><%= menu_enrollment[:enrollment].workflow_state == "invited" ? content_tag('b', 'Invited') : "Enrolled" %> as a <%= raw(menu_enrollment[:types].sort.map{|t| content_tag('b', t) }.uniq.to_sentence) %></span> 
  </a>  
</li>

{'fraction_non_alphanumeric': 0.19708029197080293, 'fraction_numerical': 0.00291970802919708, 'mean_word_length': 7.732484076433121, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 31, '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': '7047393', 'n_tokens_mistral': 492, 'n_tokens_neox': 492, 'n_words': 74}