Sorry, here it is again with full stops.

irb(main):007:0> RedCloth.new("p(link). blah").to_html
=> "<p class=\"link\">blah</p>"
irb(main):008:0> RedCloth.new("-- p(link). blah").to_html
=> "<p>&#8212;p(link). blah</p>"

Tony Perrie
Engineer, STI Convergence Team, BQQA
11501 Burnet Rd, Building 906/3007C Austin, TX, 78759
Phone: 512-838-1402, T/L: 678-1402
Fax: 512-838-2132


                                                                           
             Tom Counsell                                                  
             <[EMAIL PROTECTED]>                                             
                                                                        To 
             06/13/2006 04:33          Joseph Perrie/Austin/[EMAIL PROTECTED]   
   
             PM                                                         cc 
                                                                           
                                                                   Subject 
                                       [Instiki] Problems with RedCloth    
                                       Anchor Support                      
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 13 Jun 2006, at 22:15, Joseph Perrie wrote:
> Is this intentional?
>
> r = RedCloth.new("-- --\r\n p(link)")
> => "-- --\r\n p(link)"
> irb(main):014:0> r.to_html
> => "<hr />\n p(#link)"

Try adding a full stop after the p, i.e.: p(link).

Tom


_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to