Fixed static access to QuoteStyle.NONE
Improved conditional statement