How to make view source code in single line Is there any way to show rendered HTML in single line when you view source it in Drupal?

You may see in some websites like facebook.com. So, when you view source the entire HTML will be in single line, so that people can not read easily (though they can use firebug to investigate).
A couple modules you might find interesting.

https://www.drupal.org/project/minify

https://www.drupal.org/project/minihtml