This is a very simplified version of how Textile works and also adds some fixes if you use the same HTML in a flash feed or widget.
Jordan Dobson
gem "MiniMarkup", "~> 1.0.1"