Commit 2587736e authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Supprime les blancs en début et fin de .docheader.

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -37,6 +37,6 @@ final class UserDefinedTemplateProvider implements TemplateProviderInterface ...@@ -37,6 +37,6 @@ final class UserDefinedTemplateProvider implements TemplateProviderInterface
{ {
$path = $this->fileLocator->locate('.docheader'); $path = $this->fileLocator->locate('.docheader');
return $path ? file_get_contents($path) : null; return $path ? trim(file_get_contents($path)) : null;
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment