Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
At the moment, FreeMarker template extension supports only '.ftl'.
FreeMarker supports two more default extensions. '.ftlh' and '.ftlx'.
When using .ftlh extension, it is more convenient in most cases because each template does not have to add <#ftl output_format="HTML"> as '.ftlh' indicates its output format is "HTML".
It would be nice to support both .ftlh and .ftlx additionally by default in these:
- Webfiles should be able to include .ftlh and .ftlx
- FreeMarker servlet mapping in web.xml for those two additionally
- ...
Somethings could be done in separate tickets (e.g, ARCHETYPE, ...).
[1] https://freemarker.apache.org/docs/dgui_misc_autoescaping.html
Attachments
Issue Links
- relates to
-
CMS-10599 Add ftlh filetypes to webfiles included files
- Closed
-
CMS-13003 Follow Freemarker best practices regarding file extensions, output formats, and auto-escaping
- Closed
-
HSTTWO-4586 Make switch template configurable for other extensions than .ftl
- Closed