code: function html($node, isNewlineOnBlock) {
    let markup = value($node);
  
    if (isNewlineOnBlock) {
      const regexTag = /<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g;
      markup = markup.replace(regexTag, function(match, endSlash, name) {
        name = name.toUpperCase();
        const isEndOfInlineContainer = /^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(name) &&
                                     !!endSlash;
        const isBlockNode = /^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(name);
  
        return match + ((isEndOfInlineContainer || isBlockNode) ? '\n' : '');
      });
      markup = markup.trim();
    }
  
    return markup;
  }
docs: @method html
  
  get the HTML contents of node
  
  @param {jQuery} $node
  @param {Boolean} [isNewlineOnBlock]