plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js
function() {
      var clonedTestElement = testElement.cloneNode(false),
          returnValue,
          innerHTML;

      clonedTestElement.innerHTML = "<p><div></div>";
      innerHTML                   = clonedTestElement.innerHTML.toLowerCase();
      returnValue                 = innerHTML === "<p></p><div></div>" || innerHTML === "<p><div></div></p>";

      // Cache result by overwriting current function
      this.autoClosesUnclosedTags = function() { return returnValue; };

      return returnValue;
    }
function() {
      var clonedTestElement = testElement.cloneNode(false),
          returnValue,
          innerHTML;

      clonedTestElement.innerHTML = "<p><div></div>";
      innerHTML                   = clonedTestElement.innerHTML.toLowerCase();
      returnValue                 = innerHTML === "<p></p><div></div>" || innerHTML === "<p><div></div></p>";

      // Cache result by overwriting current function
      this.autoClosesUnclosedTags = function() { return returnValue; };

      return returnValue;
    }
function ( ) { var clonedTestElement = testElement . cloneNode ( false ) , returnValue , innerHTML ; clonedTestElement . innerHTML = "<p><div></div>" ; innerHTML = clonedTestElement . innerHTML . toLowerCase ( ) ; returnValue = innerHTML === "<p></p><div></div>" || innerHTML === "<p><div></div></p>" ; // Cache result by overwriting current function this . autoClosesUnclosedTags = function ( ) { return returnValue ; } ; return returnValue ; }
Check whether the browser automatically closes tags that don't need to be opened
Check whether the browser automatically closes tags that don t need to be opened