<commit_before>tinyMCEPopup.requireLangPack();

var <%= tinymce_dialog_name %> = {
	init : function() {},

	insert : function(document_url) {
	  var link_content = tinyMCEPopup.editor.selection.getContent();
	  var link_html = '<a href="' + document_url + '>' + link_content + '</a>';
		tinyMCEPopup.editor.execCommand('mceInsertContent', false, link_html);
		tinyMCEPopup.close();
	}
};

tinyMCEPopup.onInit.add(<%= tinymce_dialog_name %>.init, <%= tinymce_dialog_name %>);<commit_msg>Inserted missing closing quote for geenerated href attribute.<commit_after>tinyMCEPopup.requireLangPack();

var <%= tinymce_dialog_name %> = {
	init : function() {},

	insert : function(document_url) {
	  var link_content = tinyMCEPopup.editor.selection.getContent();
	  var link_html = '<a href="' + document_url + '">' + link_content + '</a>';
		tinyMCEPopup.editor.execCommand('mceInsertContent', false, link_html);
		tinyMCEPopup.close();
	}
};

tinyMCEPopup.onInit.add(<%= tinymce_dialog_name %>.init, <%= tinymce_dialog_name %>);
{'fraction_non_alphanumeric': 0.16454456415279137, 'fraction_numerical': 0.0, 'mean_word_length': 5.859060402684563, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '4551856', 'n_tokens_mistral': 370, 'n_tokens_neox': 351, 'n_words': 57}