From jg at jasongarber.com Wed Jul 1 22:19:18 2009 From: jg at jasongarber.com (Jason Garber) Date: Wed, 1 Jul 2009 22:19:18 -0400 Subject: divide and conquer In-Reply-To: <7a9f744a0906180501r78597bafn403ec833a4d22fa1@mail.gmail.com> References: <7a9f744a0906180501r78597bafn403ec833a4d22fa1@mail.gmail.com> Message-ID: <92E686DE-0976-42C7-B47D-0E8E14F46312@jasongarber.com> Hi Gaspard (and list)! I'm back from vacation and somewhat recovered. Trying to dig back in and pick up where I left off. I've checked out your parser. Not sure what I think yet. It's not as far along as the treetop-based parser, so it's hard to make a comparison. How did it feel to you? Do you have a sense of how it will feel fully implemented (clean and elegant or a cluttered mess)? Also would like the thoughts/impressions of anyone else paying attention. I'm going to get redcloth-treetop a little further along so I can compare (the formatter doesn't work yet). Thanks, everyone?especially Gaspard! Jason On Jun 18, 2009, at 8:01 AM, Gaspard Bucher wrote: > Hi list (and Jason) ! > > I have a prototype parser that uses a Regexp based "Divide and > Conquer" pattern to parse textile: > > http://github.com/gaspard/redcloth-regexp/tree/master > > This parser currently only parses simple 'list', 'strong', 'em' and > 'bold' but it is very easy to extend and adapt. > > To give you an idea of how this thing works: > > 1. take a string > 2. try to match first regular expression from context (if you are in > :main and :main => [:p, :bold], the first regexp is defined by :p => > ..) > 3. if the pattern matches, insert a placeholder and scan matched text > in the new context (:p). > 4. when you cannot match (no more re in context list), unfold by > expanding text to an S-expression tree > > Example: > > "hello _em and *strong*_" > > match regular expression associated with :em > => "hello @@=9347=@@" > > scan matched content in :em context > => "em and *strong*" matches :strong > => "em and @@=9350=@@" > > no match in "strong" > > expand in :strong context ==> [:strong, "strong"] > expand in :em context ==> [:em, "em and ", [:strong, "strong"]] > expand in :main ==> [:main, "hello ", [:em, "em and ", > [:strong, "strong"]]] > > Let me know what you think. > > Gaspard > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From lists at ruby-forum.com Thu Jul 2 06:03:30 2009 From: lists at ruby-forum.com (Karl heinz Marbaise) Date: Thu, 2 Jul 2009 12:03:30 +0200 Subject: Problem with rake db:migrate Message-ID: Hi, after installation of RedCloth i have the following error message....(on Windows as well as on Mac)... Environment: C:\wsruby\scms>ruby script/about About your application's environment Ruby version 1.8.6 (i386-mswin32) RubyGems version 1.3.1 Rack version 1.0 bundled Rails version 2.3.2 Active Record version 2.3.2 Action Pack version 2.3.2 Active Resource version 2.3.2 Action Mailer version 2.3.2 Active Support version 2.3.2 Application root C:/wsruby/scms Environment development Database adapter mysql Database schema version 0 C:\wsruby\scms>rake db:migrate --trace (in C:/wsruby/scms) rake aborted! uninitialized constant Gem::Specification::PLATFORM_CROSS_TARGETS C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:105:in `const_missing' C:/wsruby/scms/vendor/plugins/redcloth/lib/tasks/pureruby.rake:1 C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in `load_without_new_constant_marking ' C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in `load' C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in' C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in `load' C:/prog/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb:7 C:/prog/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb:7:in `each' C:/prog/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb:7 C:/prog/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' C:/prog/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' C:/wsruby/scms/rakefile:10 C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `load' C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `raw_load_rakefile' C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile' C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile' C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run' C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 C:/prog/ruby/bin/rake:16:in `load' C:/prog/ruby/bin/rake:16 Has anybody an idea what happens here.... Many thanks in advance... Kind regards Karl Heinz Marbaise -- Posted via http://www.ruby-forum.com/. From jg at jasongarber.com Thu Jul 2 07:28:07 2009 From: jg at jasongarber.com (Jason Garber) Date: Thu, 2 Jul 2009 07:28:07 -0400 Subject: Problem with rake db:migrate In-Reply-To: References: Message-ID: <4D6F515D-7CE9-4AAB-BA30-C5A638EE1C86@jasongarber.com> Hmm. That's something from echoe. Do you have echoe installed? What version? On Jul 2, 2009, at 6:03 AM, Karl heinz Marbaise wrote: > Hi, > > after installation of RedCloth i have the following error message.... > (on > Windows as well as on Mac)... > > Environment: > C:\wsruby\scms>ruby script/about > About your application's environment > Ruby version 1.8.6 (i386-mswin32) > RubyGems version 1.3.1 > Rack version 1.0 bundled > Rails version 2.3.2 > Active Record version 2.3.2 > Action Pack version 2.3.2 > Active Resource version 2.3.2 > Action Mailer version 2.3.2 > Active Support version 2.3.2 > Application root C:/wsruby/scms > Environment development > Database adapter mysql > Database schema version 0 > > > C:\wsruby\scms>rake db:migrate --trace > (in C:/wsruby/scms) > rake aborted! > uninitialized constant Gem::Specification::PLATFORM_CROSS_TARGETS > C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/dependencies.rb:105:in > `const_missing' > C:/wsruby/scms/vendor/plugins/redcloth/lib/tasks/pureruby.rake:1 > C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/dependencies.rb:145:in > `load_without_new_constant_marking > ' > C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/dependencies.rb:145:in > `load' > C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/dependencies.rb:521:in > `new_constants_in' > C:/prog/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ > active_support/dependencies.rb:145:in > `load' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb:7 > C:/prog/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb: > 7:in > `each' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/rails.rb:7 > C:/prog/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > C:/prog/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > C:/wsruby/scms/rakefile:10 > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in > `load' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in > `raw_load_rakefile' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in > `load_rakefile' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in > `load_rakefile' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in > `run' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in > `run' > C:/prog/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 > C:/prog/ruby/bin/rake:16:in `load' > C:/prog/ruby/bin/rake:16 > > Has anybody an idea what happens here.... > > Many thanks in advance... > > Kind regards > Karl Heinz Marbaise > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From gaspard at teti.ch Thu Jul 2 10:45:18 2009 From: gaspard at teti.ch (Gaspard Bucher) Date: Thu, 2 Jul 2009 16:45:18 +0200 Subject: divide and conquer In-Reply-To: <92E686DE-0976-42C7-B47D-0E8E14F46312@jasongarber.com> References: <7a9f744a0906180501r78597bafn403ec833a4d22fa1@mail.gmail.com> <92E686DE-0976-42C7-B47D-0E8E14F46312@jasongarber.com> Message-ID: <7a9f744a0907020745k53c0545eqa61a7c4afca1e1de@mail.gmail.com> The "divide and conquer" thing is a custom built parser: it cannot be compared to full blown parser generators. I will work a little more to see how all this behaves when adding more features. After that, we will have to test for speed. G. On Thu, Jul 2, 2009 at 4:19 AM, Jason Garber wrote: > Hi Gaspard (and list)! > > I'm back from vacation and somewhat recovered. ?Trying to dig back in and > pick up where I left off. > > I've checked out your parser. ?Not sure what I think yet. ?It's not as far > along as the treetop-based parser, so it's hard to make a comparison. ?How > did it feel to you? ?Do you have a sense of how it will feel fully > implemented (clean and elegant or a cluttered mess)? > > Also would like the thoughts/impressions of anyone else paying attention. > > I'm going to get redcloth-treetop a little further along so I can compare > (the formatter doesn't work yet). > > Thanks, everyone?especially Gaspard! > Jason > > On Jun 18, 2009, at 8:01 AM, Gaspard Bucher wrote: > >> Hi list (and Jason) ! >> >> I have a prototype parser that uses a Regexp based "Divide and >> Conquer" pattern to parse textile: >> >> http://github.com/gaspard/redcloth-regexp/tree/master >> >> This parser currently only parses simple 'list', 'strong', 'em' and >> 'bold' but it is very easy to extend and adapt. >> >> To give you an idea of how this thing works: >> >> 1. take a string >> 2. try to match first regular expression from context (if you are in >> :main and :main => [:p, :bold], the first regexp is defined by :p => >> ..) >> 3. if the pattern matches, insert a placeholder and scan matched text >> in the new context (:p). >> 4. when you cannot match (no more re in context list), unfold by >> expanding text to an S-expression tree >> >> Example: >> >> "hello _em and *strong*_" >> >> match regular expression associated with :em >> => "hello @@=9347=@@" >> >> scan matched content in :em context >> => "em and *strong*" matches :strong >> => "em and @@=9350=@@" >> >> no match in "strong" >> >> expand in :strong context ==> [:strong, "strong"] >> expand in :em context ? ? ==> [:em, "em and ", [:strong, "strong"]] >> expand in :main ? ? ? ? ? ? ?==> [:main, "hello ", [:em, "em and ", >> [:strong, "strong"]]] >> >> Let me know what you think. >> >> Gaspard >> _______________________________________________ >> Redcloth-upwards mailing list >> Redcloth-upwards at rubyforge.org >> http://rubyforge.org/mailman/listinfo/redcloth-upwards > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards > From murphy at rubychan.de Thu Jul 2 11:07:19 2009 From: murphy at rubychan.de (Kornelius Kalnbach) Date: Thu, 02 Jul 2009 17:07:19 +0200 Subject: Problem with @[lang]...@ in RedCloth 4.2.0 In-Reply-To: <4A3D001E.3080006@rubychan.de> References: <90498079-6FFB-4688-BBD6-99C4659E24C3@jasongarber.com> <4A3D001E.3080006@rubychan.de> Message-ID: <4A4CCD27.9070603@rubychan.de> anything new about this? Kornelius Kalnbach wrote: > hello! > > the latest update of RedCloth broke a feature that I was using: > > $ echo '@[ruby]puts "Hello, World!"@' | redcloth _4.1.9_ >

puts "Hello, World!"

> > vs. > > $ echo '@[ruby]puts "Hello, World!"@' | redcloth _4.2.0_ >

[ruby]puts "Hello, World!"

> > the coderay/for_redcloth extension used the old syntax to enable syntax > highlighting for @ and bc. code blocks. > > feature or bug? > > [murphy] From jg at jasongarber.com Thu Jul 2 13:35:03 2009 From: jg at jasongarber.com (Jason Garber) Date: Thu, 2 Jul 2009 13:35:03 -0400 Subject: divide and conquer In-Reply-To: <7a9f744a0907020745k53c0545eqa61a7c4afca1e1de@mail.gmail.com> References: <7a9f744a0906180501r78597bafn403ec833a4d22fa1@mail.gmail.com> <92E686DE-0976-42C7-B47D-0E8E14F46312@jasongarber.com> <7a9f744a0907020745k53c0545eqa61a7c4afca1e1de@mail.gmail.com> Message-ID: I did a little test for speed. Yours blows mine away. On Jul 2, 2009, at 10:45 AM, Gaspard Bucher wrote: > The "divide and conquer" thing is a custom built parser: it cannot be > compared to full blown parser generators. > > I will work a little more to see how all this behaves when adding more > features. After that, we will have to test for speed. > > G. > > On Thu, Jul 2, 2009 at 4:19 AM, Jason Garber > wrote: >> Hi Gaspard (and list)! >> >> I'm back from vacation and somewhat recovered. Trying to dig back >> in and >> pick up where I left off. >> >> I've checked out your parser. Not sure what I think yet. It's not >> as far >> along as the treetop-based parser, so it's hard to make a >> comparison. How >> did it feel to you? Do you have a sense of how it will feel fully >> implemented (clean and elegant or a cluttered mess)? >> >> Also would like the thoughts/impressions of anyone else paying >> attention. >> >> I'm going to get redcloth-treetop a little further along so I can >> compare >> (the formatter doesn't work yet). >> >> Thanks, everyone?especially Gaspard! >> Jason >> >> On Jun 18, 2009, at 8:01 AM, Gaspard Bucher wrote: >> >>> Hi list (and Jason) ! >>> >>> I have a prototype parser that uses a Regexp based "Divide and >>> Conquer" pattern to parse textile: >>> >>> http://github.com/gaspard/redcloth-regexp/tree/master >>> >>> This parser currently only parses simple 'list', 'strong', 'em' and >>> 'bold' but it is very easy to extend and adapt. >>> >>> To give you an idea of how this thing works: >>> >>> 1. take a string >>> 2. try to match first regular expression from context (if you are in >>> :main and :main => [:p, :bold], the first regexp is defined by :p => >>> ..) >>> 3. if the pattern matches, insert a placeholder and scan matched >>> text >>> in the new context (:p). >>> 4. when you cannot match (no more re in context list), unfold by >>> expanding text to an S-expression tree >>> >>> Example: >>> >>> "hello _em and *strong*_" >>> >>> match regular expression associated with :em >>> => "hello @@=9347=@@" >>> >>> scan matched content in :em context >>> => "em and *strong*" matches :strong >>> => "em and @@=9350=@@" >>> >>> no match in "strong" >>> >>> expand in :strong context ==> [:strong, "strong"] >>> expand in :em context ==> [:em, "em and ", [:strong, "strong"]] >>> expand in :main ==> [:main, "hello ", [:em, "em and ", >>> [:strong, "strong"]]] >>> >>> Let me know what you think. >>> >>> Gaspard >>> _______________________________________________ >>> Redcloth-upwards mailing list >>> Redcloth-upwards at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/redcloth-upwards >> >> _______________________________________________ >> Redcloth-upwards mailing list >> Redcloth-upwards at rubyforge.org >> http://rubyforge.org/mailman/listinfo/redcloth-upwards >> > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From jg at jasongarber.com Thu Jul 2 13:40:13 2009 From: jg at jasongarber.com (Jason Garber) Date: Thu, 2 Jul 2009 13:40:13 -0400 Subject: Problem with @[lang]...@ in RedCloth 4.2.0 In-Reply-To: <4A4CCD27.9070603@rubychan.de> References: <90498079-6FFB-4688-BBD6-99C4659E24C3@jasongarber.com> <4A3D001E.3080006@rubychan.de> <4A4CCD27.9070603@rubychan.de> Message-ID: Kornelius, thanks for being persistent. The language attribute of code phrases was taken out because of this ticket: http://jgarber.lighthouseapp.com/projects/13054/tickets/124-code-markup-does-not-allow-brackets How shall we make it work for everybody? On Jul 2, 2009, at 11:07 AM, Kornelius Kalnbach wrote: > anything new about this? > > Kornelius Kalnbach wrote: >> hello! >> >> the latest update of RedCloth broke a feature that I was using: >> >> $ echo '@[ruby]puts "Hello, World!"@' | redcloth _4.1.9_ >>

puts "Hello, World!"

>> >> vs. >> >> $ echo '@[ruby]puts "Hello, World!"@' | redcloth _4.2.0_ >>

[ruby]puts "Hello, World!"

>> >> the coderay/for_redcloth extension used the old syntax to enable >> syntax >> highlighting for @ and bc. code blocks. >> >> feature or bug? >> >> [murphy] > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards From murphy at rubychan.de Thu Jul 2 15:34:45 2009 From: murphy at rubychan.de (Kornelius Kalnbach) Date: Thu, 02 Jul 2009 21:34:45 +0200 Subject: Problem with @[lang]...@ in RedCloth 4.2.0 In-Reply-To: References: <90498079-6FFB-4688-BBD6-99C4659E24C3@jasongarber.com> <4A3D001E.3080006@rubychan.de> <4A4CCD27.9070603@rubychan.de> Message-ID: <4A4D0BD5.7050505@rubychan.de> Jason Garber wrote: > The language attribute of code phrases was taken out because of this > ticket: > http://jgarber.lighthouseapp.com/projects/13054/tickets/124-code-markup-does-not-allow-brackets thank you, I understand now. > How shall we make it work for everybody? for me of course, the 4.1.9 behavior was more predictable and useful. seems like we have a double backward-compatibility-issue ^_^ I already wrote a fix for the latest RedCloth versions: if !opts[:lang] && RedCloth::VERSION.to_s >= '4.2.0' # simulating pre-4.2 behavior ... it works if the current behavior doesn't change again; I'm happy with that :) can we include the CodeRay.for_redcloth plugin into the RedCloth test suite somehow, to prevent future problems? [murphy] From gaspard at teti.ch Thu Jul 2 16:49:39 2009 From: gaspard at teti.ch (Gaspard Bucher) Date: Thu, 2 Jul 2009 22:49:39 +0200 Subject: divide and conquer In-Reply-To: References: <7a9f744a0906180501r78597bafn403ec833a4d22fa1@mail.gmail.com> <92E686DE-0976-42C7-B47D-0E8E14F46312@jasongarber.com> <7a9f744a0907020745k53c0545eqa61a7c4afca1e1de@mail.gmail.com> Message-ID: <7a9f744a0907021349re1f59a8t7a62a46ccc59c5b4@mail.gmail.com> On Thu, Jul 2, 2009 at 7:35 PM, Jason Garber wrote: > I did a little test for speed. Yours blows mine away. But mine does nothing, yet... Ok I reworked the interface to add rules, it's much cleaner now and it's really easy to write new modules with scan rules. http://tinyurl.com/mnb5xh Jason: I will be cooking for a bunch of capoeira kids during the upcoming week => offline Gaspard > > On Jul 2, 2009, at 10:45 AM, Gaspard Bucher wrote: > >> The "divide and conquer" thing is a custom built parser: it cannot be >> compared to full blown parser generators. >> >> I will work a little more to see how all this behaves when adding more >> features. After that, we will have to test for speed. >> >> G. >> >> On Thu, Jul 2, 2009 at 4:19 AM, Jason Garber wrote: >>> >>> Hi Gaspard (and list)! >>> >>> I'm back from vacation and somewhat recovered. ?Trying to dig back in and >>> pick up where I left off. >>> >>> I've checked out your parser. ?Not sure what I think yet. ?It's not as >>> far >>> along as the treetop-based parser, so it's hard to make a comparison. >>> ?How >>> did it feel to you? ?Do you have a sense of how it will feel fully >>> implemented (clean and elegant or a cluttered mess)? >>> >>> Also would like the thoughts/impressions of anyone else paying attention. >>> >>> I'm going to get redcloth-treetop a little further along so I can compare >>> (the formatter doesn't work yet). >>> >>> Thanks, everyone?especially Gaspard! >>> Jason >>> >>> On Jun 18, 2009, at 8:01 AM, Gaspard Bucher wrote: >>> >>>> Hi list (and Jason) ! >>>> >>>> I have a prototype parser that uses a Regexp based "Divide and >>>> Conquer" pattern to parse textile: >>>> >>>> http://github.com/gaspard/redcloth-regexp/tree/master >>>> >>>> This parser currently only parses simple 'list', 'strong', 'em' and >>>> 'bold' but it is very easy to extend and adapt. >>>> >>>> To give you an idea of how this thing works: >>>> >>>> 1. take a string >>>> 2. try to match first regular expression from context (if you are in >>>> :main and :main => [:p, :bold], the first regexp is defined by :p => >>>> ..) >>>> 3. if the pattern matches, insert a placeholder and scan matched text >>>> in the new context (:p). >>>> 4. when you cannot match (no more re in context list), unfold by >>>> expanding text to an S-expression tree >>>> >>>> Example: >>>> >>>> "hello _em and *strong*_" >>>> >>>> match regular expression associated with :em >>>> => "hello @@=9347=@@" >>>> >>>> scan matched content in :em context >>>> => "em and *strong*" matches :strong >>>> => "em and @@=9350=@@" >>>> >>>> no match in "strong" >>>> >>>> expand in :strong context ==> [:strong, "strong"] >>>> expand in :em context ? ? ==> [:em, "em and ", [:strong, "strong"]] >>>> expand in :main ? ? ? ? ? ? ?==> [:main, "hello ", [:em, "em and ", >>>> [:strong, "strong"]]] >>>> >>>> Let me know what you think. >>>> >>>> Gaspard >>>> _______________________________________________ >>>> Redcloth-upwards mailing list >>>> Redcloth-upwards at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/redcloth-upwards >>> >>> _______________________________________________ >>> Redcloth-upwards mailing list >>> Redcloth-upwards at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/redcloth-upwards >>> >> _______________________________________________ >> Redcloth-upwards mailing list >> Redcloth-upwards at rubyforge.org >> http://rubyforge.org/mailman/listinfo/redcloth-upwards > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards >