forked from Snck3rs/contao-leaflet-maps
Compare commits
2 Commits
dependabot
...
3.2.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d47186d26 | ||
|
|
512ecef899 |
@@ -8,6 +8,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [3.2.4] - 2023-02-20
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Load after `netzmacht-contao-leaflet-libraries` ([#116](https://github.com/netzmacht/contao-leaflet-maps/pull/116, [#120](https://github.com/netzmacht/contao-leaflet-maps/pull/120, [#121](https://github.com/netzmacht/contao-leaflet-maps/issues/121), [#122](https://github.com/netzmacht/contao-leaflet-maps/issues/122))
|
||||||
|
- Do not use `doctrine/cache` anymore ([#118](https://github.com/netzmacht/contao-leaflet-maps/pull/118))
|
||||||
|
- Fix issues of js generation in debug mode ([#114](https://github.com/netzmacht/contao-leaflet-maps/issues/114))
|
||||||
|
|
||||||
## [3.2.3] - 2022-02-22
|
## [3.2.3] - 2022-02-22
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ use Netzmacht\LeafletPHP\Value\GeoJson\FeatureCollection;
|
|||||||
use Symfony\Component\Cache\CacheItem;
|
use Symfony\Component\Cache\CacheItem;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface as EventDispatcher;
|
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface as EventDispatcher;
|
||||||
use Symfony\Contracts\Cache\CacheInterface as Cache;
|
use Symfony\Contracts\Cache\CacheInterface as Cache;
|
||||||
|
use function dd;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class MapProvider.
|
* Class MapProvider.
|
||||||
@@ -399,8 +400,8 @@ class MapProvider
|
|||||||
|
|
||||||
$content = $this->templateRenderer->render($templateReference, $parameters);
|
$content = $this->templateRenderer->render($templateReference, $parameters);
|
||||||
$content = preg_replace(
|
$content = preg_replace(
|
||||||
['/^<!-- TEMPLATE (START): .+ -->\n*/', '/\n*<!-- TEMPLATE (END): .+ -->$/'],
|
['/^(\s*)<!-- TEMPLATE \(?START\)?: .+ -->\n*/', '/\n*<!-- TEMPLATE \(?END\)?: .+ -->$/'],
|
||||||
'',
|
['$1', ''],
|
||||||
$content
|
$content
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user