Talk is cheap, show me the code
Responded to the code-autoescape plugin post on priyadi.net, here I do the same test on Geshi plugin. Lo and be hold
Unbalanced tag: (FAILED), the body and html closing tag added by wordpress.
Smilies: (FAILED), overrided by wordpress
![]()
Perl script:
#!/usr/bin/perl
use strict;
our $i = 0;
while (<>) {
$i++;
print “line $i: $_”;
}
Mixed PHP and HTML: (FAILED), <p> closing tag removed by geshi. this is a paragraph”
< ?php
echo "
?>
XML thingy:
< ?xml version="1.0" encoding="UTF-8"?>
Regular quotes should not be converted into “fancy†‘quotes’: (FAILED)
foo("bar", 'baz');
This section gives me most headache. But experience told me that this blog mostly contains personal ramblings related to daily life, open source, and web 2.0. Recently, it turns out to be an idea-box where you can found ideas you can execute in your new startup ;). My ideas and opinions are not bullet proof and never intended to be one way stream. Kindly participate to improve your and my perspective regarding any particular post. Welcome aboard and enjoy your stay
Priyadi
September 28th, 2005 at 4:58 pm
perl script fails the test: quotes are converted into ’smart’ quotes
xml also fails the test: space between < and ? in first line, also quotes are being converted too.
toni
September 28th, 2005 at 8:42 pm
So, I guess it failed in all test :D. I’ll keep geshi until I can get your code-autoescape in color
I wonder if I can hack it a bit *questioning*
Priyadi
September 28th, 2005 at 10:22 pm
sure
Priyadi
September 30th, 2005 at 8:35 am
hmm, udah beres nih coloring di plugin gua, tapi masalahnya outputnya gak XHTML valid
di sana pake geshi versi berapa?