Re: How do I get karma to fix errors in PEARDOC using the GeSHi highlighter?

From: Date: Fri, 30 Jan 2009 12:40:33 +0000
Subject: Re: How do I get karma to fix errors in PEARDOC using the GeSHi highlighter?
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969380099@lists.php.net to get a copy of this message
Hello Richard, > >> Next I'm seeing a LOT of E_NOTICES when building peardoc. These relate > >> to no role for the programlisting tags. > > This is only partly a problem of peardoc - phd should not expect that programlistings have > > a role. > So if there is no role defined, then should there be any highlighting? That depends on the highlighter. If it has language-guessing capabilities, it might highlight the code. If not, it should return the text at least wrap the text in <pre>, as PhDHighlighter.php does. -- Regards/Mit freundlichen Grüßen Christian Weiske

« previous php.doc (#969380099) next »