Fixed bug where unterminated string literal error raised if GridView column contains line breaks

Fixed bug where unterminated string literal error raised if GridView
column contains line breaks