Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QP_List.php |
— | — | @@ -61,7 +61,7 @@ |
62 | 62 | $rowstart = '<li>'; |
63 | 63 | $rowend = '</li>'; |
64 | 64 | $plainlist = false; |
65 | | - } else { // "list" and "tempalte" format |
| 65 | + } else { // "list" and "template" format |
66 | 66 | $header = ''; |
67 | 67 | $footer = ''; |
68 | 68 | $rowstart = ''; |
— | — | @@ -150,8 +150,7 @@ |
151 | 151 | } |
152 | 152 | if ( $found_values ) $result .= ')'; |
153 | 153 | } |
154 | | - // </li> tag is not necessary in MediaWiki |
155 | | - // $result .= $rowend; |
| 154 | + $result .= $rowend . "\n"; |
156 | 155 | } |
157 | 156 | |
158 | 157 | // Make label for finding further results |
— | — | @@ -170,8 +169,7 @@ |
171 | 170 | $link->setParameter( $this->m_params['link'], 'link' ); |
172 | 171 | } |
173 | 172 | } |
174 | | - // </li> tag is not necessary in MediaWiki |
175 | | - $result .= $rowstart . $link->getText( SMW_OUTPUT_WIKI, $this->mLinker );// . $rowend; |
| 173 | + $result .= $rowstart . $link->getText( SMW_OUTPUT_WIKI, $this->mLinker ) . $rowend . "\n"; |
176 | 174 | } |
177 | 175 | if ( $this->mColumns > 1 ) |
178 | 176 | $result .= '</div>' . "\n"; |