> Date: Tue, 08 Jul 2008 01:42:03 +0200
 > From: [EMAIL PROTECTED]
 > 
 > 
 > texi2html is a program that translates from texinfo to html and wiki
 > markup. I was talking about the doc/gnupdf-manual-wiki.init
 > 
 > It is perl, so you will have a lot of fun ;)
 > 

But... HTML sucks by definition. :-P

BTW, I may have found the problem.

At line 550 in gnupdf-manual-wiki.init
##
    if ($class == "menu-preformatted")
    {
        return "";
    }
    else
    {
        return "<pre class=\"$class\"><nowiki>$text</nowiki></pre>";
    }
###

AFAIK for string comparision you should use "eq", i.e.
##
    if ($class eq "menu-preformatted")
    {
        return "";
    }
    else
    {
        return "<pre class=\"$class\"><nowiki>$text</nowiki></pre>";
    }
###

I can't test it here, so let me know if that solves the issue.

cheers

-gerel


Reply via email to