Attribute parsing fix: multiple quoted attributes were not parsed correc...

...tly

To reproduce the bug just try to parse: [foo="bar" baz="blah"]fooish[/foo]
Validation fails due to space left after s/// so the next s/// will have a space in the beginning of $attr string and mathing will fail.