We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shouldUpdateUris
1 parent a912d39 commit f059fadCopy full SHA for f059fad
1 file changed
src/Entries/Entry.php
@@ -454,7 +454,7 @@ private function shouldUpdateUris(): bool
454
return false;
455
}
456
457
- $antlersRoute = preg_replace_callback('/{\s*([a-zA-Z0-9_\-]+)\s*}/', function ($match) {
+ $antlersRoute = preg_replace_callback('/(?<!{){\s*([a-zA-Z0-9_\-]+)\s*}(?!})/', function ($match) {
458
return "{{ {$match[1]} }}";
459
}, $this->route());
460
0 commit comments