Difference between revisions of "Issue:Headingmode definition buggy output"

From FollowTheScore
Jump to: navigation, search
Line 26: Line 26:
 
</DPL>
 
</DPL>
  
To me this seems to be syntactically correct:
+
To me this seems to be syntactically correct. Experimenting a little showed the following:
  
<DL>
+
<pre><nowiki><DL><DT>a term</DT><DD>its definition</DD></DL></nowiki></pre>
<DT>[[:Category:African_Union_member_states|African Union member states]]</DT>
+
produces:
<DD>
+
 
  <UL>
+
<DL><DT>a term</DT><DD>its definition</DD></DL>
    <LI>[[Cameroon|Cameroon]]</LI>
 
    <LI>[[Nigeria|Nigeria]]</LI>
 
    <LI>[[Somalia|Somalia]]</LI>
 
    <LI>[[Sudan|Sudan]]</LI>
 
  </UL>
 
</DD>
 
</DL>
 

Revision as of 18:10, 23 October 2007

Description: Headingmode definition buggy output. The html is wrong for the output, some tags are transformed in html special chars.
Extension / Version: DPL   /   1.5.0
Type / Status: Bug   /   open

Problem

To reproduce:

<DPL>
category=African Union member states
ordermethod=category,title
headingmode=definition
</DPL>

Reply

Thanks for bringing this up. Adding "debug=5" shows the html code:

{{Extension DPL}}<DL><DT>[[:Category:African_Union_member_states|African Union member states]]</DT><DD><UL><LI>[[Cameroon|Cameroon]]</LI><LI>[[Nigeria|Nigeria]]</LI><LI>[[Somalia|Somalia]]</LI><LI>[[Sudan|Sudan]]</LI></UL></DD></DL>

To me this seems to be syntactically correct. Experimenting a little showed the following:

<DL><DT>a term</DT><DD>its definition</DD></DL>

produces:

a term
its definition