pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] Re: [flyspray] Missing usage example section in the wiki


From: gerel
Subject: Re: [pdf-devel] Re: [flyspray] Missing usage example section in the wiki
Date: Mon, 07 Jul 2008 18:51:31 -0300

 > Date: Tue, 08 Jul 2008 01:42:03 +0200
 > From: address@hidden
 > 
 > 
 > 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

[Prev in Thread] Current Thread [Next in Thread]