possibility of orphaned comment in listmarker script
-
Hello,
I am doing some changes below shortcode of leaflet map and they are not working, but they were working some days ago.
After some debugging I realize a possible problem with a comment tag in listmarker.
when I add:
[listmarker update=false overiconurl= hover]
a new script is added to the html:
<script><!–
window.WPLeafletMapPlugin=window.WPLeafletMapPlugin||[];window.WPLeafletMapPlugin.push(function(){let propertyName=””;let overiconurl=””;let collapse=false;let update=false;let hover=true;let highlight=”rgba(255, 255, 255, 0.8)”;let maxheight=0.69999999999999996;let maxwidth=0.5;leafext_listmarker_js(propertyName,overiconurl,collapse,update,hover,highlight,maxheight,maxwidth);});</script>
As you can see, there is a open comment tag, but there is no tag to close it.
when I remove the listmarker tag the code below shortcode start working again, so I assume it’s the problem of that comment tag.
Thank you for your plugin.
The topic ‘possibility of orphaned comment in listmarker script’ is closed to new replies.