[FrameworkBundle] fixed format management when the default html format is given explicitly
This commit is contained in:
parent
e23c3cc702
commit
314507c0d9
@ -167,7 +167,9 @@ class Engine extends BaseEngine
|
||||
$elements = explode('.', $parts[2]);
|
||||
if (3 === count($elements)) {
|
||||
$parts[2] = $elements[0];
|
||||
$options['format'] = '.'.$elements[1];
|
||||
if ('html' !== $elements[1]) {
|
||||
$options['format'] = '.'.$elements[1];
|
||||
}
|
||||
$options['renderer'] = $elements[2];
|
||||
} elseif (2 === count($elements)) {
|
||||
$parts[2] = $elements[0];
|
||||
|
Reference in New Issue
Block a user