[Haml] [html2haml] Mention block support in the changelog.

This commit is contained in:
Nathan Weizenbaum 2009-10-23 02:23:00 -07:00
parent a8e958b5cd
commit 653d96c9bb
1 changed files with 15 additions and 0 deletions

View File

@ -31,6 +31,21 @@ including the line number and the offending character.
### `html2haml` Improvements
* Ruby blocks within ERB are now supported.
The Haml code is properly indented and the `end`s are removed.
This includes methods with blocks and all language constructs
such as `if`, `begin`, and `case`.
For example:
<% content_for :footer do %>
<p>Hi there!</p>
<% end %>
is now transformed into:
- content_for :footer do
%p Hi there!
* Inline HTML text nodes are now transformed into inline Haml text.
For example, `<p>foo</p>` now becomes `%p foo`, whereas before it became: