schranz-templating / templating

A template abstraction prototype for php template engines.
MIT License
24 stars 0 forks source link

Spiral: Twig not supporting .html.twig extension only .twig #41

Open alexander-schranz opened 1 year ago

alexander-schranz commented 1 year ago

Currently twig templates in Spiral need to be rendered without the html part of the Template. This very uncommon for Twig as twig depending on .html.twig or .js.twig defines its escaper.

This kind of mechanism would be required to be fixed in the spiral-view.

Upstream Issue: https://github.com/spiral/twig-bridge/issues/9