Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Missing newline at html source

Hi all,

I just created new Phalcon project via devtools. Theme engine is volt. There is no newline at index page's source code. Anybody knows to fix it?

Screenshot



232
Accepted
answer

Problem solved. I changed

echo str_replace(["\n","\r","\t"], '', $application->handle()->getContent());

to

echo $application->handle()->getContent();

in /public/index.php