Hi Patrick,

Thank you for the suggestions.  I have heard of Markdown, of course,
but I'm not as familiar with it as Textile.  I hadn't heard of the
RDiscount gem so I will definitely check it out.

I'm curious, do you think that non-IT-types would be open-minded
enough to learn Markdown.  My primary competitor does allow HTML via a
rich text editor (at least some - links, image tags, lists, etc) and
I'm just not sure if people would move to me particularly if they have
to learn something new.  On the other hand, I want to keep an open
mind...

Thanks again, Ken

On Nov 3, 6:11 pm, Patrick Crowley <[EMAIL PROTECTED]> wrote:
> Here's what I recommend, Ken.
>
> - Markdown for comment formatting (it has a very simple syntax that's  
> easy to learn)
> - The new RDiscount gem for converting Markdown into HTML
> - Look at a whitelist plugin for limiting HTML to certain tags
>
> In other words, people could write blog entries and comments using  
> Markdown. The text is saved in Markdown, and then converted to HTML  
> in your views.
>
> By using a whitelist, you could then limit the final HTML output to  
> only a few tags (strong, em, links, etc.). Anything else will be  
> sanitized and/or removed.
>
> -- Patrick
--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to