Re: [SMARTY-DEV] Re: docs freeze

From: Date: Wed, 24 Mar 2004 16:08:31 +0000
Subject: Re: [SMARTY-DEV] Re: docs freeze
References: 1 2 3  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2232@lists.php.net to get a copy of this message
> One issue I see with my test, ampersands are showing up as "&amp;" in > the rendered HTML display (source looks like "&#38;amp;"). Can you give me a specific html so that I can take a look at this, please? Other things: I've finished my job for now, so thats the end of docs freeze (because didou can't contribute now). So start to modify the docs and test the new system! The (new) corrected way to write examples is: <example> <title>SMARTY_DIR</title> <programlisting role="php"> <![CDATA[ <?php // set path to Smarty directory define("SMARTY_DIR","/usr/local/lib/php/Smarty/"); require_once(SMARTY_DIR."Smarty.class.php"); ?> ]]> </programlisting> </example> Note the CDATA tag and the programlisting role. with CDATA you don't need (and can't) escape characters like &. You may write your scripts freely. The programlisting role will enable you to highlight the examples automatically. You may view for an example. Nuno P.S.: I don't have much time to implement CHM version building now. But PDF isn't too complicated. Do you want to be able to build PDF with a 'make pdf'?

« previous php.smarty.dev (#2232) next »