Changeset [3f58b37ad03e90b69a76827156390fdf89802b3e] by Steve Purcell

November 6th, 2011 @ 05:00 AM

Fix RbConfig / Config warning in Ruby 1.9.3.

"Config" is deprecated in Ruby 1.9.3, in favor of "RbConfig". This patch uses whichever is available, preventing Ruby 1.9.3 from printing
a deprecation warning when redcloth is loaded.

Committed by Steve Purcell

  • M lib/redcloth.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins