« OSS Watch : Open Source in a Company Business Model | Main | Design flaw? »

Rhubarb on Rails demo improved!

A couple of minor commits occured tonight. Firstly the CSS upload feature turned out to be 99% complete but not committed so that was finished and committed - it needs more tests and more functionality but the basic idea is there and working. Secondly, a massive single character change - the intro text is no longer HTML escaped so that the intro can be formatted. These two changes combined mean the demo is now much cleaner!

Comments

For these small pieces of text that need to include some styling, I'd recommend installing the RedCloth gem after which you can use the textilize Rails helper.

Textile is a nice and simple markup language that generates valid xhtml from plain text.

At the very least it generates paragraph tags where you'd expect them. You can then use simple codes to style text and create links, but you can still use regular html tags if you want to.

For more information, see http://hobix.com/textile/

Thanks Thijs. Actually we already use that for something else, and it crossed my mind as a future enhancement.

I believe that "future enhancements" go against the Agile philosophy ;-)

Post a comment