Re: www.kwiki.org problems

[email protected] (Jeff Zucker) Sun, 22 May 2005 11:06:06 -0700
Newsgroups perl.kwiki
Message-ID <[email protected]>
Brian Ingerson wrote:

>On 18/05/05 13:15 -0700, Jeff Zucker wrote:
>  
>
>>In case y'all don't know, it's no longer possible to edit pages on 
>>www.kwiki.org.  Clicking on edit, gets:
>>
>>	Can't hook Kwiki::DNSBL::dnsbl_hook.
>>	Can't find package 'Kwiki::DNSBL' at lib/Spoon/Hooks.pm line 56.
>>
>>    
>>
Fixed, thanks.

>>Just before that happened I noticed that .perl blocks were not being 
>>interpolated.
>>    
>>
Fixed, thanks.

>>And as long as I am on about little things - putting the text 
>></textarea> in a page causes really bad things to happen when you next 
>>try to edit the page.
>>
Half-way fixed, thanks.  If I put "<textarea>foo</textarea>bar" in some 
text and click "save", it appropriatly displays as escaped text rather 
than as HTML, that's good.  However, if I then edit the same page, on 
the editing screen, everything after "foo" is gone, i.e. I get only 
"<textarea>foo" with no closing tag and no "bar".  This is a problem 
since it becomes impossible to edit the texta of a plugin posted to the 
the wiki if the plugin contains a </textarea>.  I'm not sure what the 
fix is.  One thing might be to write the closing tag as a comment on the 
editing screen.  IOW, <textarea>foo<!-- /textarea --->bar would get 
written to the editing box, and both "</textarea>" and "<!-- /textarea 
-->" in the editing box would get displayed as &lt;/textarea&gt; on the 
display screen and converted back to a comment on edit.

-- 
Jeff