JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html> 
<html> 
    <head>     
        <title>jQuery.html() - bug on IE7 and IE8</title>       
    </head> 
    <body>     
        <ul id="list"></ul> 
    </body> 
</html>

JavaScript

$(function() {
    $("#list").html('<li>List  item  with  double  spaces.</li>');
    console.log("Does inner html contain double space? ", $("#list").html().indexOf("  ") != -1);
    console.log("Binded HTML:", $("#list").html());
});