code: function (text) {
          if (text.charAt(0) === '[') {
              switch (text.charAt(text.length - 1)) {
                  case ']':
                      return text;
                  case '"':
                      return text + ']';
                  case ',':
                      return text.substring(0, text.length - 1) + '"]';
                  default:
                      return _formatmode7(text.substring(0, text.length - 1));
              }
          } else {
              return text;
          }
      }
docs: Fix Mode7 comments when they are bad