<commit_before><?php
	use \CRD\Core\App as App;
	use \CRD\Core\Template as Template;
	use \CRD\Core\Resource as Resource;

?><!doctype html>
<html lang="<?php echo Resource::$locale; ?>">
	<head>
		<meta charset="utf-8">
		<title><?= ((!empty(Template::$title))? Template::$title . ' — ' : '') . App::$name; ?></title>

		<!-- Handheld support -->
		<meta name="viewport" content="width=device-width, initial-scale=1">

		<!-- CSS includes -->
		<link rel="stylesheet" href="/assets/css/engine.css?cache=<?= urlencode(App::$version) ?>">
		
		<!-- Initialise advanced UI -->
		<script>document.documentElement.className = 'advanced';</script>
	</head>
	<body class="<?= Template::$name ?>">
	
		<div id="container">
<?= Template::content('main') ?>
<?= Template::content('footer') ?>
		</div>
	</body>
</html><commit_msg>Ensure page title and body class uses HTML::entities<commit_after><?php
	use \CRD\Core\App as App;
	use \CRD\Core\Template as Template;
	use \CRD\Core\Resource as Resource;
	use \CRD\Core\HTML as HTML;

?><!doctype html>
<html lang="<?php echo Resource::$locale; ?>">
	<head>
		<meta charset="utf-8">
		<title><?= HTML::entities(((!empty(Template::$title))? Template::$title . ' — ' : '') . App::$name) ?></title>

		<!-- Handheld support -->
		<meta name="viewport" content="width=device-width, initial-scale=1">

		<!-- CSS includes -->
		<link rel="stylesheet" href="/assets/css/engine.css?cache=<?= urlencode(App::$version) ?>">
		
		<!-- Initialise advanced UI -->
		<script>document.documentElement.className = 'advanced';</script>
	</head>
	<body class="<?= HTML::entities(Template::$name) ?>">
	
		<div id="container">
<?= Template::content('main') ?>
<?= Template::content('footer') ?>
		</div>
	</body>
</html>
{'fraction_non_alphanumeric': 0.2372199885123492, 'fraction_numerical': 0.0022975301550832855, 'mean_word_length': 4.583333333333333, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '2200404', 'n_tokens_mistral': 609, 'n_tokens_neox': 594, 'n_words': 122}