The Dindent module is dedicated to developers who suffer from OCD and cannot bare reading template engine produced output.
Using the Dindent parser written by Gajus Kuizinas, this module allows you to beautify your Drupal HTML without lifting a finger.
Dindent was written and is maintained by Stuart Clark (deciphered).
- http://stuar.tc/lark
- http://twitter.com/Decipher
Before / After
Installation
-
Download the Parser.php file from Github:
https://raw.githubusercontent.com/Decipher/dindent/master/src/Parser.php - Place the Parser.php file into a dindent directory in your libraries directory so you have something like sites/all/libraries/dindent/Parser.php.
-
Install as usual:
http://drupal.org/documentation/install/modules-themes/modules-7
Usage
By default this module will only process cacheable pages, however you can enable processing of non-cacheable pages at admin/config/development/dindent.
The cacheability of a page can be effected by various factors; if you are unable to see the effects of the modules, check some of these following criteria:
-
'Cache pages for anonymous users' needs to be enabled, it can be found at:
/admin/config/development/performance - No session can be present for the logged in user; Status messages set by drupal_set_message() are stored in a users session.
- Some modules and/or filters prevent a page from being cacheable.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Developer tools
6 sites report using this module
- Created by deciphered on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

