Ensure both single and double quotes are decoded

By default html_entity_decode() only decodes double quotes and not single quotes. 
Please exclude this file from commit. Thanks