Permalink
Commits on Mar 15, 2018
  1. Update README.md [ci skip]

    JuanitoFatas committed Mar 15, 2018
    - remove outdated anchor link
    - link to rouge docs for CSS
Commits on Jul 13, 2016
  1. Fix build

    JuanitoFatas committed Jul 13, 2016
Commits on Jul 3, 2016
  1. Exclude impossible builds to save CPU time

    JuanitoFatas committed Jul 3, 2016
  2. Don't pack unnecessary files to released gem

    JuanitoFatas committed Jul 1, 2016
    Rationale: bundler/bundler#3207
    
    39KB => 29KB
  3. Avoid use of try, use respond_to? instead

    JuanitoFatas committed Jul 1, 2016
    Because Rails 3's `try` method behavior does not dance with its
    successors:
    
    Rails 3:
    
    "".try(:call)
    => NoMethodError: undefined method `call' for "emoji":String
    
    Rails 4+:
    
    "".try(:call)
    => nil
Commits on Jul 1, 2016
  1. Release v2.4.2

    JuanitoFatas committed Jul 1, 2016
  2. Make Emoji img attributes configurable

    JuanitoFatas committed Jun 28, 2016
    1. User can specify a hash `context[:img_attrs]` to change the `img` tag
    attributes, e.g. `{ "draggable" => false }`
    
    2. The hash key can be either `String` / `Symbol` (indifferent access)
    
      `{ "draggable" => false }` / `{ draggable: false }`
    
      =>
    
      `<img draggable="false">`
    
    3. The hash value can be either anything / proc-like object
    
      Proc-like object with default argument `name`:
    
      Given name is `:shipit:`
    
      `{ title: ->(name) { |n| n.gsub(":", "") } }`
    
      =>
    
      `<img title="shipit">`
    
      So you can do any customisations with the attribute.
    
    4. The hash value nil means clear the attribute of img tag
    
      For example, to clear the default `height`, `width`, and `align`
      attributes, pass `{ height: nil, width: nil, align: nil }` to
      `context[:img_attrs]`.
    
    5. Refine tests with consistent styles
Commits on Apr 16, 2016
  1. Add more 3rd-party extensions [ci skip]

    JuanitoFatas committed Apr 16, 2016
    - html-pipeline-redcarpet_filter
    - html-pipeline-typogruby_filter
Commits on Jan 1, 2016
  1. Merge pull request #238 from tricknotes/ruby-2.3

    JuanitoFatas committed Jan 1, 2016
    Test against Ruby 2.3.0 on Travis CI
Commits on Oct 9, 2015
  1. Merge pull request #228 from jch/doc/3rd-party-gem

    JuanitoFatas committed Oct 9, 2015
    Add html-pipeline-linkify_github to 3rd Party Extensions [ci skip]
Commits on Oct 8, 2015
Commits on Sep 29, 2015
  1. release 2.2.1

    JuanitoFatas committed Sep 29, 2015
  2. Soften Nokogiri dependency to versions ">= 1.4"

    JuanitoFatas committed Jul 21, 2015
    Many Ruby / Rails projects already use Nokogiri 1.6.6.x series.
    <= 1.6.5 make these projects impossible to integrate html-pipeline.
    
    Use real XPath with search() in emoji_filter and mention_filter
    Use #search with a real XPath expression to avoid the need to convert CSS
    into a hacky XPath expression. This workaround mentioned in http://git.io/vmp2F
Commits on Sep 6, 2015
Commits on Apr 3, 2015
  1. Add three 3rd party filters. [ci skip]

    JuanitoFatas committed Mar 11, 2015
    - html-pipeline-nico_link
    - html-pipeline-gitlab
Commits on Mar 13, 2015
Commits on Feb 11, 2015
Commits on Feb 8, 2015
  1. Add 3rd party gem: html-pipeline-rouge_filter. [ci skip]

    JuanitoFatas committed Feb 8, 2015
    This gem is smiliar to `SyntaxHighlightFilter` but use [rouge](https://github.com/jneen/rouge/) instead of [pygments.rb](https://github.com/tmm1/pygments.rb): [html-pipeline-rouge_filter](https://github.com/JuanitoFatas/html-pipeline-rouge_filter).
    
    Implement #166.
Commits on Jan 14, 2015
  1. Whitelist summary and details element.

    JuanitoFatas committed Jan 14, 2015
    And details needs an open attribute
    
    Ref. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
Commits on Jan 4, 2015