# Changelog All notable changes to this project will be documented in this file. For more information about changelogs, check [Keep a Changelog](http://keepachangelog.com) and [Vandamme](http://tech-angels.github.io/vandamme). ## 1.3.4 - 2014-06-23 * [BUGFIX] Security: don’t always assume that the content of `link_to` is safe Note that this might break your code if it relied on the wrong behavior of Bh, assuming that the content of `link_to` was always HTML safe. For instance, if your app has the following code to display an image with a link `link_to '', '/'`, then the image will not display anymore, since Bh now correctly escapes the HTML content (as Rails and Padrino do). In this case, you should use `link_to image_tag('logo.png'), '/'` instead. ## 1.3.3 - 2014-03-11 * [BUGFIX] Correctly align the "X" icon at the right of the field in basic forms ## 1.3.2 - 2014-03-05 * [BUGFIX] Respect the original behavior of Padrino/Rails when calling `link_to` with `nil` as the name ## 1.3.1 - 2014-02-03 * [BUGFIX] Do not render the `:offset` option of the field helpers in the DOM * [BUGFIX] Do not render the `:label` option of the field helpers in the DOM * [ENHANCEMENT] Add `:label_options` option to customize the wrapping label of a field ## 1.3.0 - 2014-02-02 * [FEATURE] Extend `form_for` to be wrapped in
  • when inside a `nav`, just like `link_to` * [FEATURE] Extend `button_to` to be wrapped in
  • when inside a `nav`, just like `link_to` * [BUGFIX] Match default placeholder with label content (therefore supporting localization) * [ENHANCEMENT] Bootstrappify forms wrapped in `navbar`, setting their class to "navbar-form" * [ENHANCEMENT] Add `:help` option to display a help block after most form fields * [ENHANCEMENT] Bump Bootstrap version to 3.3.2 * [ENHANCEMENT] Bump Font Awesome version to 4.3.0 ## 1.2.0 - 2014-11-13 * [FEATURE] Add support for Middleman and Padrino for all helpers except `form_for` * [FEATURE] Extend `button_to` to accept the same :content, :size and :layout options as `button` * [DEPRECATION] Deprecate `glyphicon` in favor of `icon` (`glyphicon` will still work until version 2.0.0) * [BUGFIX] Don’t override `button_to` unless `:context`, `:size` or `:layout` is passed * [ENHANCEMENT] Allow `alert_box` to pass extra parameters to the alert box
    * [ENHANCEMENT] Allow `button_to` to pass extra parameters to the button element * [ENHANCEMENT] Allow `dropdown` to display a full-width button when called with `{layout: :block, groupable: false}` * [ENHANCEMENT] Allow `dropdown` to pass `:id` parameter to the dropdown