diff --git a/javascript-modules/live/lib/app/app.js b/javascript-modules/live/lib/app/app.js index 8ebc2ff8..e84a9ed1 100644 --- a/javascript-modules/live/lib/app/app.js +++ b/javascript-modules/live/lib/app/app.js @@ -78,7 +78,7 @@ window.BookshopLive = class BookshopLive { stack.push({ startNode: currentNode, - name: matches.groups["name"].replace(/\/\w+\..+$/, ''), + name: matches.groups["name"].replace(/\/[\w-]+\..+$/, '').replace(/\..+$/, ''), bindings: JSON.parse(JSON.stringify(bindings)), scope });