mirror of https://github.com/tLDP/LDP
*** empty log message ***
This commit is contained in:
parent
79a7dd8393
commit
dc5672dad3
|
@ -3,12 +3,12 @@
|
|||
The following list should be rendered as a qandaset:
|
||||
|
||||
Q: Why?|why-id
|
||||
A: Why not?
|
||||
A: Why
|
||||
not?
|
||||
|
||||
Multiple questions and multiple answers:
|
||||
|
||||
Q: Why?
|
||||
Q: Why2?
|
||||
A: Why not?
|
||||
A: Why not2?
|
||||
|
||||
|
|
|
@ -259,7 +259,9 @@ sub proc_txt {
|
|||
$line =~ s/^A://;
|
||||
&trimline;
|
||||
&closeanswer;
|
||||
$line = "<answer><para>" . $line . "</para>\n";
|
||||
$line = "<answer><para>" . $line . "\n";
|
||||
$answer = 1;
|
||||
$para = 1;
|
||||
|
||||
# para
|
||||
#
|
||||
|
@ -354,7 +356,6 @@ sub closenonsect {
|
|||
&closepara;
|
||||
&closeorderedlist;
|
||||
&closeitemizedlist;
|
||||
# &closeqandaentry;
|
||||
}
|
||||
|
||||
sub closelistitem {
|
||||
|
@ -389,8 +390,9 @@ sub closelists {
|
|||
}
|
||||
|
||||
sub closeanswer {
|
||||
&closepara;
|
||||
if ($answer == 1) {
|
||||
$line = "</answer>\n";
|
||||
$buf .= "</answer>\n";
|
||||
$answer = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue