Hi Tony,

As a point of order: While Instiki folks are certainly interested in  
RedCloth issues,
RedCloth is maintained by a separate team from Instiki.  If you have  
a suspected or confirmed bug, I recommend checking out the RedCloth  
homepage, with links to the project page, mailing
lists, etc.:
http://whytheluckystiff.net/ruby/redcloth/

To the specific issue that you cite, I believe that your  
interpretation of Textile is
incorrect in this case.  All of the "block modifiers" must begin a  
paragraph.  This is
essentially all of the modifiers that end in a period, e.g. "hn.",  
"p.", "bq.", and so forth.
Your example "-- p(link). blah" places the "p." after the start of  
the paragraph, so it (correctly) isn't recognized.

Possible solutions are to start the paragraph with the "p." marker:

p(#link).  -- blah

which produces:

<p id="link">&#8212;blah</p>

Or alternatively use a Textile span marker:

-- %(#link)blah%

to get:

<p>&#8212;<span class="link">blah</span></p>

FYI, The above examples were generated via RedCloth 3.0.4.

-- John

On Jun 13, 2006, at 3:28 PM, Joseph Perrie wrote:

> I replicated the alleged bug here:
>
> http://instiki.org/show/AnchorBug
>
> Tony
>
> _______________________________________________
> Instiki-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/instiki-users

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

Reply via email to