{{ message }}
Add .ftlh extension to Freemarker#7551
Merged
lildude merged 4 commits intoSep 9, 2025
Merged
Conversation
- Add `.ftlh` and `.ftlx` as extensions for Freemarker - Add samples for `.ftlh` and `.ftlx`
lildude
requested changes
Aug 29, 2025
Member
There was a problem hiding this comment.
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.
Contributor
Author
lildude
reviewed
Sep 8, 2025
.ftlh and .ftlx extensions to Freemarker.ftlh extension to Freemarker
JesusValeraDev
pushed a commit
to phel-lang/linguist
that referenced
this pull request
Apr 18, 2026
* Add `.ftlh` and `.ftlx` extensions to Freemarker - Add `.ftlh` and `.ftlx` as extensions for Freemarker - Add samples for `.ftlh` and `.ftlx` * Replace sample files with real world examples * Remove support for ftlx and remove ftlx-sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

.ftlhas an extension for Freemarker.ftlhDescription
Hi,
I propose adding the
.ftlhextension 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