Closed gambry closed 4 years ago
With #243 we allowed hyphens as pattern id. Although this work perfectly, we haven't fully tested overriding patterns template through theme suggestions.
And indeed if there is a hyphen in the pattern id, overrides are not loaded.
This PR address this bug.
I've added the suggested changes + provided some test coverage for the overrides.
I closed this branch in order to resync fork HEAD with this repo. I issued a new PR: #295 .
With #243 we allowed hyphens as pattern id. Although this work perfectly, we haven't fully tested overriding patterns template through theme suggestions.
And indeed if there is a hyphen in the pattern id, overrides are not loaded.
This PR address this bug.