I’m trying to find a way to output HTML without
symfony including JS and CSS files.
I opened a ticket (http://www.symfony-project.com/trac/ticket/537),
but maybe I’m just overlooking the (obvious?) solution…
“has_layout: off” only stops symfony from
including the default template. When the result from the action is valid HTML,
symfony still includes css and js.
Explicitly excluding every stylesheet and js in the view.yml
is not a very flexible solution either…
An example: I want to output some user-generated HTML to
send for printing purposes, ergo I don't want the default css and js included.
Any tips ?
Tnx !
Gert.