You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have error when use another Loader for twig, when try parse string
Text text
In result we have:
Text <img src="http://example.com/image
Cose Kohana_Twig class find extension in the first param in the factory. FIx this:
Remove code:
if ($extension = pathinfo($file, PATHINFO_EXTENSION))
{
$this->set_extension($extension);
}
From function Kohana_Twig::set_filename . I don't know why we must use this code(search extension in input data), cose this is loader functional, and extension declared in config file.
The text was updated successfully, but these errors were encountered:
We have error when use another Loader for twig, when try parse string
Text text
In result we have:
Text <img src="http://example.com/image
Cose Kohana_Twig class find extension in the first param in the factory. FIx this:
Remove code:
if ($extension = pathinfo($file, PATHINFO_EXTENSION))
{
$this->set_extension($extension);
}
From function Kohana_Twig::set_filename . I don't know why we must use this code(search extension in input data), cose this is loader functional, and extension declared in config file.
The text was updated successfully, but these errors were encountered: