You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path to a fragment from a template must currently contain '.html' or '.txt' whereas Thymeleaf documentation doesn't use file extension when referencing to a fragment.
So Ogham should follow the same behavior and resource resolution should use variants too to search for fragments.
Steps to Reproduce
Create a test that sends an email using a MultiTemplateContent:
Path to a fragment from a template must currently contain '.html' or '.txt' whereas Thymeleaf documentation doesn't use file extension when referencing to a fragment.
So Ogham should follow the same behavior and resource resolution should use variants too to search for fragments.
Steps to Reproduce
fragment/layout.html
:main.html
):Current behavior:
Inclusion of fragment needs the file extension.
<head th:replace="fragments/layout
.html:: header"></head>
Expected behavior:
Inclusion of fragment should not need the file extension.
<head th:replace="fragments/layout
.html:: header"></head>
However, if file extension is explicitly provided, it should also work
The text was updated successfully, but these errors were encountered: