Answer the question
In order to leave comments, you need to log in
How to compress html in Symfony2 output?
I want to run the output through the following code:
$responce = ...;
$responce = str_replace(array("\n", "\r", "\t"), ' ', $responce);
$responce = preg_replace('/ {2,}/', ' ', $responce);
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question