Ugly small lib to convert HTML markup to ugly HTML markup.
Things such these happen…
<strong>some bold text</strong>
to
<span style="font-weight: bold"></span>
-
<em>some bold text</em>
to
<span style="font-style: italic"></span>
-
<ul> <li>Item 1</li> <li>Item 2 <ul> <li>Item 1 List 2</li> </ul> </li> </ul>
to
<ul> <li>Item 1</li> <li>Item 2 <ul> <li>Item 1 List 2</li> </ul> </li> </ul>
-
Put it inside a nicEdit Wysiwyg editor.
-
Hpricot
-
Hpricot extensions Elem::Trav::add_style, Elem::Trav::has_style?, Elem::change_tag!
gem install zevarito-uglify_html
- Authors
-
Alvaro Gil (zevarito)
- License
-
MIT (Check LICENSE for details)