Changelog History
Page 3
-
v3.1.8 Changes
- ๐ Fix for line numbers reported from exceptions in nested blocks (thanks to Grant Hutchins & Sabrina Staedt).
-
v3.1.7 Changes
- ๐ Fix for compatibility with Sass 3.2.x. (thanks Michael Westbom).
-
v3.1.6 Changes
- In indented mode, don't reindent buffers that contain preserved tags, and provide a better workaround for Rails 3.2.3's textarea helpers.
-
v3.1.5 Changes
๐ Respect Rails'
html_safe
flag when escaping attribute values (thanks to Gerad Suyderhoud).๐ Fix for Rails 3.2.3 textarea helpers (thanks to James Coleman and others).
-
v3.1.4 Changes
- ๐ Fix the use of
FormBuilder#block
with a label in Haml. - ๐ Fix indentation after a self-closing tag with dynamic attributes.
- ๐ Fix the use of
-
v3.1.3 Changes
- Stop partial layouts from being displayed twice.
-
v3.1.2 Changes
If the ActionView
#capture
helper is used in a Haml template but without any Haml being run in the block, return the value of the block rather than the captured buffer.Don't throw errors when text is nested within comments.
๐ Fix html2haml.
๐ Fix an issue where destructive modification was sometimes performed on Rails SafeBuffers.
๐ Use character code entities for attribute value replacements instead of named/keyword entities.
-
v3.1.1 Changes
- โก๏ธ Update the vendored Sass to version 3.1.0.
-
v3.1.0 Changes
๐ Don't add a
type
attribute to<script>
and<style>
tags generated by filters when:format
is set to:html5
.Add an {file:HAML_REFERENCE.md#escape_attrs-option
:escape_attrs
option} that allows attributes to either remain unescaped (for things like embedding PHP directives in Haml) or to be always escaped rather than#escape_once
d. This can also be used from the command line via--no-escape-attrs
.๐ Allow custom filters to be loaded from the command line.
Backwards Incompatibilities -- Must Read!
๐ Get rid of the
--rails
flag for thehaml
executable. This flag hasn't been necessary since Rails 2.0. Existing Rails 2.0 installations will continue to work.โฌ๏ธ Drop support for Hpricot 0.7. 0.8 has been out for nearly two years.
-
v3.0.25 Changes
- ๐ HTML-to-Haml conversion now works within Ruby even if Hpricot is loaded before
haml/html
.
- ๐ HTML-to-Haml conversion now works within Ruby even if Hpricot is loaded before