<commit_before>/*

See: https://groups.google.com/forum/#!search/david$20mark$20innerHTML/comp.lang.javascript/QQ9ClOT6igQ/LIZ5QXmmuw0J

NOTE: Don't use this rendition with anything but DIV's 

Degrades in IE 3 :) 

*/

var setHtml;

if(html && isHostObjectProperty(html, 'innerHTML')) {
	setHtml = function(el, html) {
		el.innerHTML = html;	
	};
}<commit_msg>Checked that innerHTML was a string not an object<commit_after>/*

See: https://groups.google.com/forum/#!search/david$20mark$20innerHTML/comp.lang.javascript/QQ9ClOT6igQ/LIZ5QXmmuw0J

NOTE: Don't use this rendition with anything but DIV's 

Degrades in IE 3 :) 

*/

var setHtml;

if(html && typeof html.innerHTML == "string") {
	setHtml = function(el, html) {
		el.innerHTML = html;	
	};
}
{'fraction_non_alphanumeric': 0.13829787234042554, 'fraction_numerical': 0.023936170212765957, 'mean_word_length': 4.536764705882353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '497807', 'n_tokens_mistral': 302, 'n_tokens_neox': 272, 'n_words': 61}