fixes options replacement
fix for multiple attributes and no quotes
fixes multiple attributes with quotes
code formatting: removes trailing whitespace
fixes equal sign in option-value breaks option parsing
Merge pull request #25 from Schlaefer/bugfix-options-replacement

fixes multiple issues parsing attributes