Seriously, thank you!
Here’s two examples:
This one is working, but the description is not bold even though it is in a <strong>
tag.
https://porchfest-wjct.pantheonsite.io/jaxmusic/extra-marker-test/
Here’s the shortcode I used:
[leaflet-map lat=29.871672082404032 lng=-81.29361038423357 height=600 zoom=13 detect-retina fitbounds zoomcontrol scrollwheel tileurl=https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png attribution='Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="https://openstreetmap.org">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>.']
[extramarker lat=29.871672082404032 lng=-81.29361038423357 markerColor=purple shape=circle icon=fa-number number=1]<strong>Test 1</strong>[/extramarker]
[extramarker lat=29.892448944865485 lng=-81.31283436952994 markerColor=purple shape=circle icon=fa-number number=2]<strong>Test 2</strong>[/extramarker]
[cluster]
[fullscreen]
[zoomhomemap fit/!fit]
Here’s the second example. It is breaking. The only difference is I put in <a href="/jaxmusic/">Test 1</a>
in the description.
https://porchfest-wjct.pantheonsite.io/jaxmusic/extra-marker-test-2/
Here’s the shortcode I used for it:
[leaflet-map lat=29.871672082404032 lng=-81.29361038423357 height=600 zoom=13 detect-retina fitbounds zoomcontrol scrollwheel tileurl=https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png attribution='Map tiles by <a href="https://stamen.com">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="https://openstreetmap.org">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>.']
[extramarker lat=29.871672082404032 lng=-81.29361038423357 markerColor=purple shape=circle icon=fa-number number=1]<a href="/jaxmusic/">Test 1</a>[/extramarker]
[extramarker lat=29.892448944865485 lng=-81.31283436952994 markerColor=purple shape=circle icon=fa-number number=2]<strong>Test 2</strong>[/extramarker]
[cluster]
[fullscreen]
[zoomhomemap fit/!fit]
[extramarker] also breaks and gives the same error if there is a linebreak in the description.
Here’s the error it’s kicking out:
Fatal error: Uncaught RuntimeException: Unclosed string at position: 687 in /code/wp-content/plugins/extensions-leaflet-map-github-main/pkg/JShrink/Minifier.php:500 Stack trace: #0 /code/wp-content/plugins/extensions-leaflet-map-github-main/pkg/JShrink/Minifier.php(258): JShrink\Minifier->saveString() #1 /code/wp-content/plugins/extensions-leaflet-map-github-main/pkg/JShrink/Minifier.php(154): JShrink\Minifier->loop() #2 /code/wp-content/plugins/extensions-leaflet-map-github-main/pkg/JShrink/Minifier.php(122): JShrink\Minifier->minifyDirectToOutput('\r\n
-
This reply was modified 2 years, 2 months ago by Ray Hollister. Reason: adding the error message