Changelog History
Page 5
-
v3.0.14 Changes
๐ Allow CSS-style classes and ids to contain colons.
๐ Fix an obscure bug with if statements.
๐ Rails 3 Support
- ๐
Don't use the
#returning
method, which Rails 3 no longer provides.
-
v3.0.10 Changes
๐ Appengine-JRuby Support
The way we determine the location of the Haml installation ๐ no longer breaks the version of JRuby ๐ used by
appengine-jruby
.๐ Bug Fixes
- Single-line comments are now handled properly by
html2haml
.
- Single-line comments are now handled properly by
-
v3.0.9 Changes
There were no changes made to Haml between versions 3.0.8 and 3.0.9. A bug in Gemcutter caused the gem to be uploaded improperly.
-
v3.0.8 Changes
- ๐ Fix a bug with Rails versions prior to Rails 3.
-
v3.0.7 Changes
๐ Encoding Support
๐ Haml 3.0.7 adds support for Ruby-style
-# coding:
comments for declaring the encoding of a template. ๐ For details see {file:HAML_REFERENCE.md#encodings the reference}.This also slightly changes the behavior of Haml when the {file:HAML_REFERENCE.md#encoding-option
:encoding
option} is not set. 0๏ธโฃ Rather than defaulting to"utf-8"
, 0๏ธโฃ it defaults to the encoding of the source document, and only falls back to"utf-8"
if this encoding is"us-ascii"
.The
haml
executable also now takes an-E
option for specifying encoding, ๐ which works the same way as Ruby's-E
option.Other Changes
- 0๏ธโฃ Default to the {file:HAML_REFERENCE.md#format-option
:html5
format} when running under Rails 3, since it defaults to HTML5 as well.
๐ Bug Fixes
- When generating Haml for something like
<span>foo</span>,
, use= succeed
rather than- succeed
(which doesn't work).
- 0๏ธโฃ Default to the {file:HAML_REFERENCE.md#format-option
-
v3.0.6 Changes
๐ Rails 2.3.7 Support
๐ This release fully supports Rails 2.3.7.
๐ Rails 2.3.6 Support Removed
๐ Rails 2.3.6 was released with various bugs related to XSS-protection and interfacing with Haml. ๐ Rails 2.3.7 was released shortly after with fixes for these bugs. ๐ Thus, Haml no longer supports Rails 2.3.6, โฌ๏ธ and anyone using it should upgrade to 2.3.7.
๐ Attempting to use Haml with Rails 2.3.6 will cause an error.
-
v3.0.5 Changes
๐ Rails 2.3.6 Support
๐ This release hacks around various bugs in Rails 2.3.6, bringing Haml up to full compatibility.
๐ Rails 3 Support
๐ Make sure the
#capture
helper in Rails 3 ๐จ doesn't print its value directly to the template.