Fixes to documentation syntax so that all content can be processed used xsltproc docbook-xsl tools. In particular, fixes unescaped entities, broken tags, unquoted attributes.

This commit is contained in:
boots
2003-10-29 22:46:46 +00:00
parent 5678bdc66e
commit 7458ee31cd
10 changed files with 1621 additions and 1621 deletions
+6 -6
View File
@@ -52,7 +52,7 @@ Parse error: parse error in /path/to/smarty/templates_c/index.tpl.php on line 75
</sect1>
</chapter>
<chapter id="tips">
<title>Tips & Tricks</title>
<title>Tips &amp; Tricks</title>
<para>
</para>
<sect1 id="tips.blank.var.handling">
@@ -185,7 +185,7 @@ OUTPUT:
2001/01/04
{if $date1 < $date2}
{if $date1 &lt; $date2}
...
{/if}</programlisting>
</example>
@@ -288,7 +288,7 @@ Pretty easy isn't it?
You can embed PHP into your templates with the {php}{/php} tags.
With this, you can setup self contained templates with their own
data structures for assigning their own variables. With the logic
embedded like this, you can keep the template & logic together. This
embedded like this, you can keep the template &amp; logic together. This
way no matter where the template source is coming from, it is always
together as one component.
</para>
@@ -300,7 +300,7 @@ Pretty easy isn't it?
{php}
// setup our function for fetching stock data
function fetch_ticker($symbol,&$ticker_name,&$ticker_price) {
function fetch_ticker($symbol,&amp;$ticker_name,&amp;$ticker_price) {
// put logic here that fetches $ticker_name
// and $ticker_price from some resource
}
@@ -331,7 +331,7 @@ load_ticker.php
&lt;?php
// setup our function for fetching stock data
function fetch_ticker($symbol,&$ticker_name,&$ticker_price) {
function fetch_ticker($symbol,&amp;$ticker_name,&amp;$ticker_price) {
// put logic here that fetches $ticker_name
// and $ticker_price from some resource
}
@@ -401,4 +401,4 @@ Send inquiries to
check the website.
</para>
</chapter>
</part>
</part>