Add list of questions in each qandaset, using:

<? dbhtml toc='1' ?>
This commit is contained in:
david 2003-05-18 23:26:33 +00:00
parent 2cfec1c95c
commit b1e1361aaa
2 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,10 @@
Add -f, --faq option to generate the article tag as:
<article class='faq'>
Add processing instruction:
<? dbhtml toc='1' ?>
so each <qandaset> gets its own list of questions.
2002-06-25 0.5 Switched -V and -v, now -v is version, -V is verbose.
Changed -a, --article to -x, --xml and -s, --sgml to

View File

@ -492,7 +492,7 @@ sub ProcessLine {
$qandaentry = 1;
}
if ($qandaset == 0) {
$line = "<qandaset defaultlabel='qanda'>\n". $line;
$line = "<qandaset defaultlabel='qanda'>\n<?dbhtml toc='1' ?>" . $line;
$qandaset = 1;
}