RubyGems.org

wraptext

0.1.7

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
Authors

Chris Heald

5,527 total downloads 172 for this version
Owners

9b00f41e5f2a69734051f2a78f4f3785

Gemfile
gem 'wraptext', '~> 0.1.7'
Versions
  1. 0.1.7 August 5, 2014 (26.5 KB)
  2. 0.1.6 February 2, 2013 (24.5 KB)
  3. 0.1.5 January 9, 2013 (20 KB)
  4. 0.1.4 November 27, 2012 (19 KB)
  5. 0.1.3 October 23, 2012 (19 KB)
Show all versions (8 total)
Runtime Dependencies
  1. nokogiri >= 0
Ruby Dependency
  1. >= 0