code: function trimLeadingLineBreaks(node) {
            do {
              if (node.nodeType === 3) {
                node.nodeValue = node.nodeValue.replace(/^[\r\n]+/, '');
              }
  
              node = node.firstChild;
            } while (node);
          }
docs: Trims any linebreaks at the beginning of node user for example when pressing enter in a PRE element