<commit_before># Haml Changelog

## 4.0.2 (Unreleased)

* Fix :erb filter putting duplicate content in Rails views.
(thanks [<NAME>](https://github.com/jorihardman))
* Replace range with slice to reduce objects created by `capture_haml`.
(thanks [<NAME>](https://github.com/tiegz))
* Correct/improve some documentation.

## 4.0.1

Released March 21, 2013 ([diff](https://github.com/haml/haml/compare/4.0.0...4.0.1)).

* Remove Rails 3.2.3+ textarea hack in favor of a more general solution.
* Fix some performance regressions.
* Fix support for Rails 4 `text_area` helper method.
* Fix data attribute flattening with singleton objects.
(thanks [<NAME>](https://github.com/alisdair))
* Fix support for sass-rails 4.0 beta.
(thanks [<NAME>](https://github.com/tricknotes))
* Load "haml/template" in Railtie in order to prevent user options set in a
  Rails initializer from being overwritten
* Don't depend on Rails in haml/template to allow using Haml with ActionView
  but without Rails itself. (thanks [<NAME>](https://github.com/wedgex))

## 4.0.0

* The Haml exectutable now accepts an `--autoclose` option. You can now
  specify a list of tags that should be autoclosed

* The `:ruby` filter no longer redirects $stdout to the Haml document, as this
  is not thread safe. Instead it provides a `haml_io` local variable, which is
  an IO object that writes to the document.

* HTML5 is now the default output format rather than XHTML. This was already<commit_msg>Update changelog<commit_after># Haml Changelog

## 4.0.2 (Unreleased)

* Explicitly require Erubis to work around bug in older versions of Tilt.
* Fix :erb filter printing duplicate content in Rails views.
(thanks [<NAME>](https://github.com/jorihardman))
* Replace range with slice to reduce objects created by `capture_haml`.
(thanks [<NAME>](https://github.com/tiegz))
* Correct/improve some documentation.

## 4.0.1

Released March 21, 2013 ([diff](https://github.com/haml/haml/compare/4.0.0...4.0.1)).

* Remove Rails 3.2.3+ textarea hack in favor of a more general solution.
* Fix some performance regressions.
* Fix support for Rails 4 `text_area` helper method.
* Fix data attribute flattening with singleton objects.
(thanks [<NAME>](https://github.com/alisdair))
* Fix support for sass-rails 4.0 beta.
(thanks [<NAME>](https://github.com/tricknotes))
* Load "haml/template" in Railtie in order to prevent user options set in a
  Rails initializer from being overwritten
* Don't depend on Rails in haml/template to allow using Haml with ActionView
  but without Rails itself. (thanks [<NAME>](https://github.com/wedgex))

## 4.0.0

* The Haml exectutable now accepts an `--autoclose` option. You can now
  specify a list of tags that should be autoclosed

* The `:ruby` filter no longer redirects $stdout to the Haml document, as this
  is not thread safe. Instead it provides a `haml_io` local variable, which is
  an IO object that writes to the document.

* HTML5 is now the default output format rather than XHTML. This was already
{'fraction_non_alphanumeric': 0.10697674418604651, 'fraction_numerical': 0.018604651162790697, 'mean_word_length': 4.2456445993031355, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1815036', 'n_tokens_mistral': 994, 'n_tokens_neox': 907, 'n_words': 376}