Haml v3.1.2 Release Notes

    • 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.