code: function stripSpace() {
        if (hasTag && !nonSpace) {
          while (spaces.length) {
            tokens.splice(spaces.pop(), 1);
          }
        } else {
          spaces = [];
        }
  
        hasTag = false;
        nonSpace = false;
      }
docs: Strips all whitespace tokens array for the current line if there was a {{#tag}} on it and otherwise only space.