Title: Map not loading when hyperlink in bubble
Last modified: August 21, 2016

---

# Map not loading when hyperlink in bubble

 *  Resolved [Felix Arntz](https://wordpress.org/support/users/flixos90/)
 * (@flixos90)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-when-hyperlink-in-bubble/)
 * Hello,
 * I have a problem where the map is not loading when I use a hyperlink in the bubble.
   I do it exactly the way that is specified in your documentation, using #http://
   example.com anchortext#, but it does not work. When removing the link and only
   including plain text (without #), the map will load perfectly fine.
 * The test site below shows an example: Both in the content of the post and in 
   the widget on the right you see the map not loading. The widget is a custom widget,
   and for testing purposes I used print_r to print the content I pass as the ‘addmarkerlist’
   attribute (hope this helps).
    [Test Site](http://schemata-dev.leaves-and-love.net/test-cgmp-map/)
   See the printed out code above the stupid monkey face image…
 * Hope you can help, thanks a lot in advance!
 * [http://wordpress.org/plugins/comprehensive-google-map-plugin/](http://wordpress.org/plugins/comprehensive-google-map-plugin/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * (@alexanderzagniotov)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-when-hyperlink-in-bubble/#post-4393169)
 * Hi… I had a look at your site and I have a question:
    The plugin generates OBJECT
   HTML element that contain JSON for the map rendering. Have a look at the partial
   screenshot of that: [http://pbrd.co/J7mYBn](http://pbrd.co/J7mYBn)
 * You see how “Fantasy business” is on the new line and the closing anchor tag 
   is also on the new line? I wonder why you got new line breaks there… Regardless,
   I will apply a fix that hopefully will fix it… Wait to v8.0.4
 *  Plugin Contributor [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * (@alexanderzagniotov)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-when-hyperlink-in-bubble/#post-4393191)
 * Sorry, the fix is not in 8.0.4. I checked the code, and I am making sure that
   I am trimming white spaces… Its weird… I will have to think about it
 *  Thread Starter [Felix Arntz](https://wordpress.org/support/users/flixos90/)
 * (@flixos90)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-when-hyperlink-in-bubble/#post-4393204)
 * Hi Alexander,
 * alright, I know what has caused the problem. It is nothing that has to do with
   your plugin. I use an output buffer in the theme there that has the goal to print
   out all the HTML code in a way that is easily readable by the user (with correct
   tab indents and such), something like a minifier, but this time rather a prettifier.
   When I did this, I didn’t think of HTML code that could possibly be inside another
   HTML attribute.
 * Anyway, I’m not quite sure if this is useful in general, so I’m probably gonna
   remove it.
 * But thanks for the help, because of you I found what was causing the problem!
   You don’t need to fix anything there.
 *  Plugin Contributor [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * (@alexanderzagniotov)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-when-hyperlink-in-bubble/#post-4393207)
 * Awesome, thanks for letting me know and I am glad I was able to help!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Map not loading when hyperlink in bubble’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comprehensive-google-map-plugin_e2e4ef.
   svg)
 * [Comprehensive Google Map Plugin](https://wordpress.org/plugins/comprehensive-google-map-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comprehensive-google-map-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/reviews/)

## Tags

 * [hyperlink](https://wordpress.org/support/topic-tag/hyperlink/)
 * [not-loading](https://wordpress.org/support/topic-tag/not-loading/)

 * 4 replies
 * 2 participants
 * Last reply from: [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-when-hyperlink-in-bubble/#post-4393207)
 * Status: resolved