function splitAttributes(attrSet) {
						attrSet = utils.trim(attrSet);
						var parts = [];

						// split attribute set by spaces
						var stream = stringStream(attrSet), ch;
						while ((ch = stream.next())) {
							if (ch == ' ') {
								parts.push(utils.trim(stream.current()));
								// skip spaces
								while (stream.peek() == ' ') {
									stream.next();
								}

								stream.start = stream.pos;
							} else if (ch == '"' || ch == "'") {
								// skip values in strings
								if (!stream.skipString(ch)) {
									throw new Error('Invalid attribute set');
								}
							}
						}

						parts.push(utils.trim(stream.current()));
						return parts;
					}
Extract attributes and their values from attribute set: 
<code>[attr col=3 title="Quoted string"]</code> (without square braces)
@param {String} attrSet
@returns {Array}