Issues With Javalent Plugins (Patreon)
Content
We've seen reports of some issues in the community, specifically with Leaflet but possibly with other plugins also.
I've spoken to Javalent and confirmed there has been a change in Obsidian that impacts some of his plugins. Specifically the way data can be parsed now has changed.
Leaflet Confirmed Issue
People are reporting:
Maps no longer visible
Pins no longer visible.
The cause of the issue appears to be the way the data is structured. This example where marker is repeated multiple times. This is no longer parsing correctly in Obsidian. This causes the map to disappear.
If you change the syntax though to this format:
Then the map will parse correctly. This is happening in other areas too. For example; people who have multiple map layers. Make sure you are not replicating the 'image' property multiple times and instead using the same format above.
I've confirmed this is happening in Leaflet in the following ways:
Multiple map layers using the 'image:' line.
Pins that are saved to the code-block using the 'marker:' line.
This will fail.
This will work.
Now this will not be unique to Leaflet; if you are having issues with other Javalent plugins you should check for this syntax pattern.
If you have found anything else; please post below and I will try get the info out to the masses.