Hello, I do really like Textile - many people do. This is why I do not understand why the latest version of RedCloth, 3.0.4, does not work as expected - while the 3.0.3 version does. Everywhere you find forum posts or blog posts recommending 3.0.3. So why is there a 3.0.4 version at all? Since more than a year? Do the original authors still care? What is the reason for version 3.0.4 acting so strange? Will there be a version 3.0.5 correcting these issues? Maybe I should adress the authors directly, but I just thought I''d give it a shot on the forums. So I''m looking forward to your replies. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> Hello, > > I do really like Textile - many people do. This is why I do not > understand why the latest version of RedCloth, 3.0.4, does not work as > expected - while the 3.0.3 version does. Everywhere you find forum posts > or blog posts recommending 3.0.3. So why is there a 3.0.4 version at > all? Since more than a year? Do the original authors still care? What is > the reason for version 3.0.4 acting so strange? Will there be a version > 3.0.5 correcting these issues?I''ve also already contacted why (the author), but apparently he doesn''t reply - and presumably care - anymore. What is especially sad is that in the SVN there is sitting a neat start of a good refactoring of RedCloth, something that could be a 3.0.5 soon... http://rubyforge.org/projects/redcloth/> Maybe I should adress the authors directly, but I just thought I''d give > it a shot on the forums. So I''m looking forward to your replies.It would be great if it got improved. Actually I thought about doing it myself, but for the coming weeks I''m quite busy finishing my FOSS rails app before Fosdem 2007 in Brussels (end of feb.). Would be great if we got a community together to fix and release the code from the SVN. Wybo -- ::Student: - History, Informatiekunde (computer linguistics, IR, webtech) and Philosophy - Member of the Center for Metahistory Groningen (http://www.rug.nl/let/cmg) ::Free Software and Open Source Developer: - http://www.LogiLogi.org, innovative system for cumulative, shared commenting, publication and idea sharing: Web as it should be... - ComLinToo, a computational linguistics toolset written in Perl - Lake (LogiLogi.org Make), a make-replacement using makefiles in pure C++ ::Being: - In the world, go figure (http://nl.logilogi.org/HomE/WyboWiersma) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Man, I thought it was just me. I filed a couple of bugs against it and didn''t see any response. I''ll see if I can downgrade to 3.0.3 Does anyone know if the tip revision in svn is in good shape? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I posted something to the project authors and to the mail list for redcloth. I''ll update this if I find out anything. Joe --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 1/17/07, Code Xy <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hello, > > I do really like Textile - many people do. This is why I do not > understand why the latest version of RedCloth, 3.0.4, does not work as > expected - while the 3.0.3 version does. Everywhere you find forum posts > or blog posts recommending 3.0.3. So why is there a 3.0.4 version at > all? Since more than a year? Do the original authors still care? What is > the reason for version 3.0.4 acting so strange? Will there be a version > 3.0.5 correcting these issues? > > Maybe I should adress the authors directly, but I just thought I''d give > it a shot on the forums. So I''m looking forward to your replies. >You should repost this to ruby-talk, as it has a better chance of why seeing it there. - Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
My understanding is that it isn''t borked, they just changed the default handling to something that most people don''t expect. I can''t remember where I read this but I know I did see something and I believe there is a config option to get 3.0.3 behavior from 3.0.4, along with whatever else is new/changed/fixed in 3.0.4. I''d be interested to hear whatever this is if someone knows. Hunter On Jan 18, 2007, at 7:13 PM, Joe at CodeGear wrote:> > Man, I thought it was just me. I filed a couple of bugs against it > and > didn''t see any response. I''ll see if I can downgrade to 3.0.3 > > Does anyone know if the tip revision in svn is in good shape? > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I have some fairly basic usages that break it (according to the docs). After some digging it appears that the problem may be between RedCloth and Rails For example, from the rails console:>> @note = @a.notes=> "h1. this is a heading\n\nand this is not going to be">> RedCloth.new(@note).to_html=> "<h1>this is a heading</h1>\n\n\n\t<p>and this is not going to be</p>" The tab character is unexpected, but not strictly speaking a bug because it doesn''t change the rendering (maybe it is on purpose for readability in the generated HTML source even) When I look at the generated HTML source from my rails app I see something different: <h1>this is a heading<br /> and this is not going to be</h1> Hmmm, does rails (edge currently) ship a different version of RedCloth somehow? Or not use RedCloth for "textilize" anymore? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sorry for the stream-of-thought here. I changed my partial from <%= textilize @agendaitem.notes %> to <%= RedCloth.new(@agendaitem.notes).to_html %> and it now behaves as expected. How do I dig into this to find out what is happening? Find the implementation for textilize in my rails version I guess. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
It''s progressing : http://redhanded.hobix.com/inspect/superredclothAsAChild.html A. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 1/18/07, Joe at CodeGear <jmcglynn-T8eQWhSUU4BWk0Htik3J/w@public.gmane.org> wrote:> > Sorry for the stream-of-thought here. I changed my partial from > > <%= textilize @agendaitem.notes %> > > to > > <%= RedCloth.new(@agendaitem.notes).to_html %> > > and it now behaves as expected. > > How do I dig into this to find out what is happening? Find the > implementation for textilize in my rails version I guess.You can easily dig into the source: http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_view/helpers/text_helper.rb#L108 It''s also easy enough to overwrite this in your application_helper too, or better yet -- a plugin. -- Rick Olson http://weblog.techno-weenie.net http://mephistoblog.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---