CI Number
No response
Duplicates
Is your feature request related to a problem? Please describe.
.ftl Freemarker templates do not auto-escape outputted content at all, but best practices for html and xml output formats are to escape characters as needed.
The feature can be turned on manually using the built-in <#outputformat ...> directive, but this is not pretty and is very likely to be forgotten by developers. Freemarker automatically escapes for html and xml when the template filename ends with .ftlh and .ftlx, respectively.
Describe the solution you'd like
Support alternate Freemarker suffixes besides .ftl (.ftlh .ftlx). This includes:
- itemActions
- mimeTypes
- engine preview (it seems like it is already supported)
CI Number
No response
Duplicates
Is your feature request related to a problem? Please describe.
.ftl Freemarker templates do not auto-escape outputted content at all, but best practices for html and xml output formats are to escape characters as needed.
The feature can be turned on manually using the built-in <#outputformat ...> directive, but this is not pretty and is very likely to be forgotten by developers. Freemarker automatically escapes for html and xml when the template filename ends with .ftlh and .ftlx, respectively.
Describe the solution you'd like
Support alternate Freemarker suffixes besides .ftl (.ftlh .ftlx). This includes: