joomla/joomla-cms — pull request #283 by Bakual (2012-07-19 13:40:46+00:00)
Title: JFactory::createDocument always creates HTML documents.

Fixing the "format" URL parameter. Bug was introduced when the depreceated "no_html" was removed.
Now it is no longer possible to create other document types using "&format=raw".
This PR brings back this function but doesn't reintroduce the "no_html" parameter.