If characters like /*]]>*//* show up in the search results, then you’re probably using W3 Total Cache (or another caching plugin) with the minify option enabled.
What happens is here that the code from the underscore template is slightly modified by the caching plugin when it minifies the output, resulting in /*]]>*//* showing up in the search results.
W3 Total Cache users can fix this by following the steps below. If you’re using another caching plugin, then check the relevant documentation on how to exclude the store locator page from being minified.
- Login to your WordPress dashboard
- Visit Performance > Minify
- Click on the “Advanced” link on the top of the page
- Look for the “Never minify the following pages” section
- Fill in the name of the store locator page. If the store locator is used on http://domain.com/store-locator, then you only need to fill in “store-locator”. There is no need to include the http://domain.com/ part.
- Click on the “Save all settings” button
If after reloading the page the /*]]>*//* characters still show up in the search results, then make sure to flush the server and browser cache.