Matt Harrison wrote:> Hi all,
>
> I''ve got a page that lets users leave comments about the page
content.
> Adding comments is working fine and I will add edit/delete functionality
> later.
>
> I want people to have the choice whether to add a fresh comment or reply
> to a previous one. What is the rails way to deal with quoted reply
comments?
>
> I''ve got an action which can set the body of the new comment to
that of
> the quoted one, but how should I deal with the quote display? Should I
> prefix each line with a ">" which means splitting long lines
into
> shorter ones, or should I use some sort of BBcode style [quote] markup?
>
I have just about worked it out using redcloth and blockquote
"bq."''s
but nesting quotes isn''t working, it isn''t marking up the fact
there''s
nested blockquote''s.
Is there another way around this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---