<commit_before>
/** Define {{mf}} helper on the server */
Blaze.Template.registerHelper("mf", function(key, message, params) {
	var _HTML = params && (params._HTML || params._html);

	message = params ? message : null;
	params = params ? params.hash : {};

	var result = mf(key, params, message, params.LOCALE);
	if (_HTML) {
		return Spacebars.SafeString(msgfmt.sanitizeHTML(result, _HTML));
	}
	return result;
});<commit_msg>fix SSR mf helper so message is optional<commit_after>
/** Define {{mf}} helper on the server */
Blaze.Template.registerHelper("mf", function(key, message, params) {
	// Message parameter is optional
	if (!params) {
		params = message;
		message = null;
	}

	params = params.hash;

	return mf(key, params, message, params.LOCALE);
});

{'fraction_non_alphanumeric': 0.15091863517060367, 'fraction_numerical': 0.0, 'mean_word_length': 4.528985507246377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2177690', 'n_tokens_mistral': 247, 'n_tokens_neox': 239, 'n_words': 71}