RubyGems.org

wraptext

0.1.5

Performs Wordpress-style conversion of single and double newlines to <p> and <br /> tags. Produces well-formed HTML and intelligently ignores unbreakable sections like <script> and <pre> tags. Conveniently turns Wordpress post content into valid HTML.

installgem install wraptext -v 0.1.5
Authors

Chris Heald

5,125 total downloads 639 for this version
Owners

9b00f41e5f2a69734051f2a78f4f3785

Gemfile
gem 'wraptext', '~> 0.1.5'
Versions
  1. 0.1.6 February 2, 2013 (24.5 KB)
  2. 0.1.5 January 9, 2013 (20 KB)
  3. 0.1.4 November 27, 2012 (19 KB)
  4. 0.1.3 October 23, 2012 (19 KB)
  5. 0.1.2 January 31, 2012 (18 KB)
Show all versions (7 total)
Runtime Dependencies
  1. nokogiri >= 0