-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add .ftlh
extension to Freemarker
#7551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .ftlh
extension to Freemarker
#7551
Conversation
- Add `.ftlh` and `.ftlx` as extensions for Freemarker - Add samples for `.ftlh` and `.ftlx`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sample files added in this PR reflects this:
* The `.ftlh` files are copies of the `.ftl` files, which will render HTML-documents.
Please don't do this. These are very old and terrible samples from before we started requiring real-world usage examples. Please find real examples for the new extensions and add those. Update the PR template to reflect the license and source of each file.
I replaced the example files with two new ones from real-world projects. I also wanted to ensure that both "syntax flavors" are represented in the samples:
|
.ftlh
and .ftlx
extensions to Freemarker.ftlh
extension to Freemarker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
Important
The changes in this PR will not appear on GitHub until the next release has been made and deployed. See here for more details.
.ftlh
as an extension for Freemarker.ftlh
Description
Hi,
I propose adding the
.ftlh
extension for Freemarker as discussed in #7550 .The alternative file extension indicate to the Freemarker-library if the output should be HTML-escaped. See https://freemarker.apache.org/docs/dgui_misc_autoescaping.html#:~:text=ftlh,extensions
Checklist:
.ftlh
(12.9k files) https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.ftlh