public
Description: Wrapper around Tidy gem to easily Tidy HTML in Strings.
Homepage:
Clone URL: git://github.com/railsmonk/string_tidy.git
railsmonk (author)
Thu Sep 25 23:00:37 -0700 2008
commit  3939d6678e9b78b227a58eaec004aa33207d3116
tree    6c9d748c4a6288b7f354775ba7f1a3c97da2e502
parent  6eb5735e8e8a311c41b8c3aee4d5a8d42bed0074
string_tidy / init.rb
100644 10 lines (8 sloc) 0.252 kb
1
2
3
4
5
6
7
8
9
10
# You need tidy gem for this:
# gem install tidy or http://rubyforge.org/projects/tidy
# You may also need to install tidy C library:
# http://tidy.sf.net
require 'tidy'
 
require 'detect_tidy'
require 'string_tidy'
 
String.send :include, StringTidy