Instiki / Markdown bug

Isn’t that a valid error given your test input below is missing a
closing square bracket?

Rob

guslist@free.fr 04/26/04 12:49pm >>>
On the input:

[test.

I get the error:

Internal Server Error
undefined method `finish’ for #<StringScanner 7/32 “…link]” @
“(http…”>

Guillaume.

Well, I agree that it is a broken Markdown pattern, but I would think
that the error should be caught and the bad pattern skipped. It seems
that Instiki should display the page, even with broken formatting and
not ‘crash’ on me.

Guillaume.

···

Le 26 avr. 04, à 07:54, Robert McGovern a écrit :

Isn’t that a valid error given your test input below is missing a
closing square bracket?

Rob

guslist@free.fr 04/26/04 12:49pm >>>
On the input:

[test.

I get the error:

Internal Server Error
undefined method `finish’ for #<StringScanner 7/32 “…link]” @
“(http…”>

Guillaume.

Well, I agree that it is a broken Markdown pattern, but I would think
that the error should be caught and the bad pattern skipped. It seems
that Instiki should display the page, even with broken formatting and
not ‘crash’ on me.

I agree. I should add a rescue clause on the rendering that’ll give you
a chance to correct the broken markup and get on with the show.

···


David Heinemeier Hansson,
http://www.instiki.org/ – A No-Step-Three Wiki in Ruby
http://www.basecamphq.com/ – Web-based Project Management
http://www.loudthinking.com/ – Broadcasting Brain

Well, I agree that it is a broken Markdown pattern, but I would think
that the error should be caught and the bad pattern skipped. It seems
that Instiki should display the page, even with broken formatting and
not ‘crash’ on me.

I agree. I should add a rescue clause on the rendering that’ll give you
a chance to correct the broken markup and get on with the show.

Thanks.
Guillaume.

···

On Mon, 2004-04-26 at 10:14, David Heinemeier Hansson wrote:


David Heinemeier Hansson,
http://www.instiki.org/ – A No-Step-Three Wiki in Ruby
http://www.basecamphq.com/ – Web-based Project Management
http://www.loudthinking.com/ – Broadcasting Brain

This is also a BlueCloth bug; the call to #finish should instead be
#terminate. This is fixed in the latest BlueCloth code, and I hope to
have a new release packaged up and posted today. It no longer raises an
exception when it encounters broken link syntax, either; it will just
leave it untransformed.

···

On Apr 26, 2004, at 7:14 AM, David Heinemeier Hansson wrote:

Well, I agree that it is a broken Markdown pattern, but I would think
that the error should be caught and the bad pattern skipped. It seems
that Instiki should display the page, even with broken formatting and
not ‘crash’ on me.

I agree. I should add a rescue clause on the rendering that’ll give
you a chance to correct the broken markup and get on with the show.


Michael Granger ged@FaerieMUD.org
Rubymage, Believer, Architect
The FaerieMUD Consortium http://www.FaerieMUD.org/