Hi,
Attached a patch that allows using entities in the titles collected by mkindex.php. This fix a problem with the french doc where we have this kind of stuff :
<title>Migration &php;</title>
Actually only PHP (the substitution of &php;) is inserted in the database.
didou
Index: mkindex.php
===================================================================
RCS file: /repository/livedocs/mkindex.php,v
retrieving revision 1.32
diff -u -r1.32 mkindex.php
--- mkindex.php 27 Apr 2004 14:43:28 -0000 1.32
+++ mkindex.php 23 May 2004 06:42:50 -0000
@@ -99,6 +99,7 @@
$this->data .= "INSERT INTO idents VALUES ('{$this->last_id}',
{$this->fileid}, '" . sqlite_escape_string(trim($this->cdata)) . "');";
$this->last_id = false;
+ $this->cdata = '';
}
}
@@ -107,7 +108,7 @@
//small hack for '&'
$data = str_replace('||amp||', '&', $data);
- $this->cdata = $data;
+ $this->cdata .= ' ' . trim($data);
}
}
