<commit_before><% content_for :head do %>
  <%= javascript_tag "var taxonomy_id = #{@taxonomy.id}; 
    var loading = '#{t('loading')}'; 
    var new_taxon = '#{t('new_taxon')}';
    var server_error = '#{t('server_error')}';
    var taxonomy_tree_error = '#{t('taxonomy_tree_error')}';" 
  %> 
  <%= javascript_include_tag 'taxonomy' %>
  <script type="text/javascript" src="/javascripts/jsTree/jquery.tree.js"></script>
  <script type="text/javascript" src="/javascripts/jsTree/plugins/jquery.tree.contextmenu.js"></script>
<% end %><commit_msg>Escapes javascript in taxonomies header file.<commit_after><% content_for :head do %>
  <%= javascript_tag "var taxonomy_id = #{@taxonomy.id}; 
    var loading = '#{escape_javascript t('loading')}'; 
    var new_taxon = '#{escape_javascript t('new_taxon')}';
    var server_error = '#{escape_javascript t('server_error')}';
    var taxonomy_tree_error = '#{escape_javascript t('taxonomy_tree_error')}';" 
  %> 
  <%= javascript_include_tag 'taxonomy' %>
  <script type="text/javascript" src="/javascripts/jsTree/jquery.tree.js"></script>
  <script type="text/javascript" src="/javascripts/jsTree/plugins/jquery.tree.contextmenu.js"></script>
<% end %>
{'fraction_non_alphanumeric': 0.18948247078464106, 'fraction_numerical': 0.0, 'mean_word_length': 5.481081081081081, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '5821115', 'n_tokens_mistral': 429, 'n_tokens_neox': 398, 'n_words': 67}