Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_List.php |
— | — | @@ -70,9 +70,9 @@ |
71 | 71 | |
72 | 72 | // Determine mark-up strings used around list items: |
73 | 73 | if ( ( $this->mFormat == 'ul' ) || ( $this->mFormat == 'ol' ) ) { |
74 | | - $header = '<' . $this->mFormat . '>'; |
75 | | - $footer = '</' . $this->mFormat . '>'; |
76 | | - $rowstart = '<li>'; |
| 74 | + $header = "<" . $this->mFormat . ">\n"; |
| 75 | + $footer = "</" . $this->mFormat . ">\n"; |
| 76 | + $rowstart = "\t<li>"; |
77 | 77 | $rowend = "</li>\n"; |
78 | 78 | $plainlist = false; |
79 | 79 | $finallistsep = ''; |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | } |
114 | 114 | |
115 | 115 | if ( $header != '' ) { |
116 | | - $result .= "\t\t\t\t$header\n"; |
| 116 | + $result .= $header; |
117 | 117 | } |
118 | 118 | |
119 | 119 | if ( $this->mIntroTemplate != '' ) { |
— | — | @@ -139,15 +139,15 @@ |
140 | 140 | |
141 | 141 | // Print footer |
142 | 142 | if ( $footer != '' ) { |
143 | | - $result .= "\t\t\t\t$footer\n"; |
| 143 | + $result .= $footer; |
144 | 144 | } |
145 | 145 | |
146 | 146 | if ( $this->mColumns > 1 ) { |
147 | | - $result .= "\t\t\t\t</div>\n"; |
| 147 | + $result .= "</div>\n"; |
148 | 148 | } |
149 | 149 | |
150 | 150 | if ( $this->mColumns > 1 ) { |
151 | | - $result .= '<br style="clear: both">' . "\n"; |
| 151 | + $result .= '<br style="clear: both" />' . "\n"; |
152 | 152 | } |
153 | 153 | |
154 | 154 | return $result; |
— | — | @@ -292,7 +292,7 @@ |
293 | 293 | $link->setParameter( $this->mOutroTemplate, 'outrotemplate' ); |
294 | 294 | } |
295 | 295 | |
296 | | - $result .= "\t\t\t\t" . $rowstart . $link->getText( SMW_OUTPUT_WIKI, $this->mLinker ) . $rowend . "\n"; |
| 296 | + $result .= $rowstart . ' '. $link->getText( SMW_OUTPUT_WIKI, $this->mLinker ) . $rowend; |
297 | 297 | } |
298 | 298 | |
299 | 299 | public function getParameters() { |