Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop extending into ERB the t and textilize #19

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Jun 16, 2017

  1. Stop extending into ERB the t and textilize

    Prevent injection of the `t` and `textilize` methods into a `ERB` module through the `Util` module. When using the `i18n` gem in Rails it uses textilize method, instead of `translate` (aliased as `t`) helper. It will be still possible to inject textilize into a ERB after this commit with a manual code:
    
    ```
    begin
      require 'erb'
      require 'redcloth/erb_extension'
      include ERB::Util
    rescue LoadError
    end
    ```
    dmitry committed Jun 16, 2017
    Configuration menu
    Copy the full SHA
    85b3dc8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50049da View commit details
    Browse the repository at this point in the history
  3. Change t to textile in spec

    dmitry committed Jun 16, 2017
    Configuration menu
    Copy the full SHA
    cdd02b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a12a118 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f58e1a1 View commit details
    Browse the repository at this point in the history
  6. Fix to textilize

    dmitry committed Jun 16, 2017
    Configuration menu
    Copy the full SHA
    a25fa78 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a262b5b View commit details
    Browse the repository at this point in the history
  8. Change t to textile in spec

    dmitry committed Jun 16, 2017
    Configuration menu
    Copy the full SHA
    7c47155 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2017

  1. try to fix

    dmitry authored Jun 20, 2017
    Configuration menu
    Copy the full SHA
    0b4bcc6 View commit details
    Browse the repository at this point in the history