title: How to compress inline Javascript in twig
body: <p>I would like to know if it is possible to compress via yui compressor in Symfony2 an inline javascript twig file.<br>
  the twig file contains js code as <code>&lt;script&gt;/%JS code%/&lt;/script&gt;</code><br>
  The doc states that it works for .js files but didn't mention the inline javascript <br></p>