Sha256: e366876c1c3ab5c657366ab78fe23d6dbbdc0732b5c101b4ce4d3ac0924585d5

Contents?: true

Size: 549 Bytes

Versions: 5

Compression:

Stored size: 549 Bytes

Contents

= HTML Beautifier

A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates.

== What it does

* Normalises hard tabs to spaces
* Removes trailing spaces
* Indents after opening HTML elements
* Outdents before closing elements
* Collapses multiple whitespace
* Indents after block-opening embedded Ruby (if, do etc.)
* Outdents before closing Ruby blocks
* Outdents elsif and then indents again
* Indents the left-hand margin of JavaScript and CSS blocks to match the indentation level of the code

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
threedaymonk-htmlbeautifier-0.0.2 README.txt
erbeautifier-0.1.0 README.txt
htmlbeautifier-0.0.4 README.txt
htmlbeautifier-0.0.3 README.txt
htmlbeautifier-0.0.2 README.txt