1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Haml] [html2haml] Document previous changes.

This commit is contained in:
Nathan Weizenbaum 2009-10-05 03:12:24 -07:00
parent 239ef01865
commit e67ab26b6e

View file

@ -29,6 +29,17 @@ Haml and `html2haml` now produce more descriptive errors
when given a template with invalid byte sequences for that template's encoding,
including the line number and the offending character.
### `html2haml` Improvements
`html2haml` now transforms inline HTML text nodes into inline Haml text.
For example, `<p>foo</p>` now becomes `%p foo`, whereas before it became:
%p
foo
The same is true for inline ERB when running in ERB mode.
`<p><%= foo %></p>` will now become `%p= foo`.
## 2.2.7 (Unreleased)
* Fixed an `html2haml` issue where ERB attribute values