Skip to content

Make MustacheTemplateEngine's Compiler configurable #149

@iabudiab

Description

@iabudiab

Currently there is no (easy) way to configure the Mustache.Compiler used in the MustacheTemplateEngine, thus it is not (easily) possible to define own/custom formatter, null values, escaper..etc to handle template compiling.

Two workarounds are possible, but not optimal:

  • Accessing the Compiler in a MustacheTemplateEngine instance per reflection.
  • Custom TemplateEngine subclass with configurable Compiler, which is I am currently using.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementEnhancement that adds a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions