<commit_before><script runat="server">
  JCU.data.homepage_animations = '%globals_site_index_id^as_asset:asset_metadata_jcu.features.animations%'
  JCU.data.frontend_animations = '%frontend_asset_metadata_jcu.features.animations%'
  JCU.data.site_animations = '%globals_site_metadata_jcu.features.animations%'

  JCU.data.current_animations = JCU.resolveBooleanInheritance({
    homepage_data: JCU.data.homepage_animations,
    frontend_data: JCU.data.frontend_animations,
    site_data: JCU.data.site_animations,
    default: false
  })

/* We render the whole body tag with SSJS, which means that on 404 Pages, the JS
 * runs client side. This is a mega hack, waiting for install of
 * https://github.com/jcu-eresearch/matrix-helpers/issues/74
*/
print('<body class="' +
  '%globals_asset_design_id^as_asset:asset_short_name^lowercase^css_safe^prepend:design-%' +
  ' %globals_asset_paint_layout_id^as_asset:asset_short_name^lowercase^css_safe^prepend:layout-%' +
  ' %globals_asset_type_code^lowercase^css_safe^prepend:type-%' +
  ' theme-' + JCU.data.current_theme +
  ' %globals_site_href^lowercase^css_safe^prepend:site-%' +
  ' %globals_asset_linking_lineage^json_decode^index:1^as_asset:asset_href^lowercase^css_safe^prepend:section-%' +
  ' %globals_site_metadata_jcu.features.body_class%' +
  ' %globals_asset_metadata_jcu.features.body_class%' +
  ' %globals_user_type^eq:Public Access User:user-anonymous:user-authenticated%' +
  ' %globals_user_type^lowercase^css_safe^prepend:usertype-%' +
  ' ' + (JCU.data.current_animations ? 'animations-on' : 'animations-off') +
  '" id="page-top" role="document">')
</script><commit_msg>HTML opening tag: fix potential breakage on quotes in various fields<commit_after><script runat="server">
  JCU.data.homepage_animations = '%globals_site_index_id^as_asset:asset_metadata_jcu.features.animations%'
  JCU.data.frontend_animations = '%frontend_asset_metadata_jcu.features.animations%'
  JCU.data.site_animations = '%globals_site_metadata_jcu.features.animations%'

  JCU.data.current_animations = JCU.resolveBooleanInheritance({
    homepage_data: JCU.data.homepage_animations,
    frontend_data: JCU.data.frontend_animations,
    site_data: JCU.data.site_animations,
    default: false
  })

/* We render the whole body tag with SSJS, which means that on 404 Pages, the JS
 * runs client side. This is a mega hack, waiting for install of
 * https://github.com/jcu-eresearch/matrix-helpers/issues/74
*/
print('<body class="' +
  '%globals_asset_design_id^as_asset:asset_short_name^lowercase^css_safe^prepend:design-^escapequotes%' +
  ' %globals_asset_paint_layout_id^as_asset:asset_short_name^lowercase^css_safe^prepend:layout-^escapequotes%' +
  ' %globals_asset_type_code^lowercase^css_safe^prepend:type-%' +
  ' theme-' + JCU.data.current_theme +
  ' %globals_site_href^lowercase^css_safe^prepend:site-^escapequotes%' +
  ' %globals_asset_linking_lineage^json_decode^index:1^as_asset:asset_href^lowercase^css_safe^prepend:section-^escapequotes%' +
  ' %globals_site_metadata_jcu.features.body_class^escapequotes%' +
  ' %globals_asset_metadata_jcu.features.body_class^escapequotes%' +
  ' %globals_user_type^eq:Public Access User:user-anonymous:user-authenticated^escapequotes%' +
  ' %globals_user_type^lowercase^css_safe^prepend:usertype-^escapequotes%' +
  ' ' + (JCU.data.current_animations ? 'animations-on' : 'animations-off') +
  '" id="page-top" role="document">')
</script>
{'fraction_non_alphanumeric': 0.12881651642919453, 'fraction_numerical': 0.0034893864495492877, 'mean_word_length': 6.908045977011494, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '3507253', 'n_tokens_mistral': 1275, 'n_tokens_neox': 1244, 'n_words': 145}