diff --git a/src/Views/layout-file.phtml b/src/Views/layout-file.phtml
index e4ea92e6..180d64de 100644
--- a/src/Views/layout-file.phtml
+++ b/src/Views/layout-file.phtml
@@ -10,7 +10,7 @@ else
{
\Chibi\HeadersHelper::set(
'Content-Disposition',
- 'inline; filename=' . $this->context->transport->customFileName);
+ 'inline; filename="' . $this->context->transport->customFileName . '"');
}
\Chibi\HeadersHelper::set(