# \[ANN\] ClothRed 0.3.1 (Bugfix release)

**URL:** https://rubytalk.org/t/ann-clothred-0-3-1-bugfix-release/36925
**Category:** ruby-talk
**Created:** [13 April 2007 20:27 UTC](https://rubytalk.org/t/ann-clothred-0-3-1-bugfix-release/36925 "2007-04-13T20:27:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Phil](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@Phil](https://rubytalk.org/u/Phil)
#### Post date: [13 April 2007 20:27 UTC](https://rubytalk.org/t/ann-clothred-0-3-1-bugfix-release/36925/1 "2007-04-13T20:27:52Z")

</div>

= ClothRed HTML 2 Textile converter

== What it is

A library to convert HTML into Textile markup for use, for example, with  
RedCloth.

== Requirements

All you need is Ruby.

== Get it

Available as a gem on RubyForge:  
gem install ClothRed

Or download from RubyForge:  
[http://rubyforge.org/frs/?group\_id=3427](http://rubyforge.org/frs/?group_id=3427)

Or get the source:  
svn checkout svn://viewvc.rubyforge.mmmultiworks.com/var/svn/clothred

== Bugs fixed in this release:  
&nbsp;&nbsp;\* HTML linebreak wasn't translated  
&nbsp;&nbsp;\* Headings weren't translated properly (thanks to Adriano Ferreira for providing a fix and a new test)

== Features

This is alpha software, and only a few Textile rules have been  
implemented yet:  
&nbsp;&nbsp;\* font markup and weight (\<b\>, \<strong\>, ...)  
&nbsp;&nbsp;\* text formatting (\<sub\>, \<sup\>, \<ins\>,\<del\>)  
&nbsp;&nbsp;\* Support for headings  
&nbsp;&nbsp;\* Support for paragraphs and \<blockquote\>  
&nbsp;&nbsp;\* Support for Textile entities

== Usage

require 'clothred'

text = ClothRed.new("\<b\>Bold\</b\> \<em\>HTML\</em\>!")  
text.to\_textile

== Get Help  
Feel free to contact me, or peruse the homepage.

&nbsp;&nbsp;\* [http://clothred.rubyforge.org/](http://clothred.rubyforge.org/)  
&nbsp;&nbsp;\* [http://rubyforge.org/projects/clothred/](http://rubyforge.org/projects/clothred/)

== Contributers:

Adriano Ferreira (patch + test for heading-translation)

> **···**
>
> --  
> Phillip "CynicalRyan" Gawlowski  
> [http://cynicalryan.110mb.com/](http://cynicalryan.110mb.com/)  
> [http://clothred.rubyforge.org](http://clothred.rubyforge.org)
> 
> Rule of Open-Source Programming #5:
> 
> A project is never finished.
