RubyGems.org

It just occurred to me that if we are encoding our HTML pages in UTF-8 to handle multiple languages and using web fonts with multilanguage support, shouldn't we be able to directly insert the simple apostrophe, ellipsis, and em-dash? RubyPants-Unicode is a Ruby port of the smart-quotes library SmartyPants that outputs unicode characters (UTF-8) instead of HTML entities. The original "SmartyPants" is a free web publishing plug-in for Movable Type, Blosxom, and BBEdit that easily translates plain ASCII punctuation characters into "smart" typographic punctuation HTML entities.

installgem install rubypants-unicode
Authors

John Gruber, Chad Miller, Christian Neukirchen, Jeremy McNevin, Chris Chapman, Jared White

6,237 total downloads 183 for this version
Owners

Aa20f35eb9a45a92902346df85fb889a

Licenses

MIT

Gemfile
gem 'rubypants-unicode', '~> 0.2.5'
Versions
  1. 0.2.5 October 11, 2014 (11.5 KB)
  2. 0.2.4 October 11, 2014 (11.5 KB)
  3. 0.2.3 August 13, 2012 (10.5 KB)
  4. 0.2.1 August 13, 2012 (11 KB)
  5. 0.2.0 July 30, 2012 (11 KB)
Show all versions (6 total)
Ruby Dependency
  1. >= 0