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

Dindent - Before / After

 

Installation

 

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

Releases