Skip to content

Commit

Permalink
Merge pull request #18 from JMAConsulting/mosaico_636
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Feb 26, 2024
2 parents 9205bbd + 4eabd19 commit 5a01e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/template-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function _viewModelPluginInstance(pluginFunction) {
}

var _templateUrlConverter = function(basePath, url) {
if (!url.match(/^[^\/]*:/) && !url.match(/^\//) && !url.match(/^\[/) && !url.match(/^#?$/)) {
if (!url.match(/^[^\/]*:/) && !url.match(/^\//) && !url.match(/^\[/) && !url.match(/^#?$/) && !url.match(/^\{/)) {
// TODO this could be smarter joining the urls...
return basePath + url;
} else {
Expand Down Expand Up @@ -549,4 +549,4 @@ module.exports = {
load: templateLoader,
isCompatible: isCompatible,
fixPageEvents: fixPageEvents
};
};

0 comments on commit 5a01e2b

Please sign in to comment.