Gtting unterminated string literal error in OpenCart Page template
===

I am getting unterminated string literal error.

    content:  '<div><p>

Here is my code written in *.tpl file. The code is written in document ready function.

    content:  '<div><?php echo strlen($gmap['onelinetext'])>0 ? $gmap['onelinetext'] : $gmap['maptext']; ?></div>'

When i update content from back end for example "14534 Mayfair Dr" It populate error.

Can some one guide mein how can i fixed this error.

Regards,