@@ -219,27 +219,27 @@ |
||
219 | 219 | |
220 | 220 | protected function isOpeningListTag($word, $type = null) |
221 | 221 | { |
222 | - $filter = $type !== null ? array('<' . $type) : array('<ul', '<ol', '<dl'); |
|
222 | + $filter = $type !== null ? array('<'.$type) : array('<ul', '<ol', '<dl'); |
|
223 | 223 | return in_array(substr($word, 0, 3), $filter); |
224 | 224 | } |
225 | 225 | |
226 | 226 | protected function isClosingListTag($word, $type = null) |
227 | 227 | { |
228 | - $filter = $type !== null ? array('</' . $type) : array('</ul', '</ol', '</dl'); |
|
228 | + $filter = $type !== null ? array('</'.$type) : array('</ul', '</ol', '</dl'); |
|
229 | 229 | |
230 | 230 | return in_array(substr($word, 0, 4), $filter); |
231 | 231 | } |
232 | 232 | |
233 | 233 | protected function isOpeningListItemTag($word, $type = null) |
234 | 234 | { |
235 | - $filter = $type !== null ? array('<' . $type) : array('<li', '<dd', '<dt'); |
|
235 | + $filter = $type !== null ? array('<'.$type) : array('<li', '<dd', '<dt'); |
|
236 | 236 | |
237 | 237 | return in_array(substr($word, 0, 3), $filter); |
238 | 238 | } |
239 | 239 | |
240 | 240 | protected function isClosingListItemTag($word, $type = null) |
241 | 241 | { |
242 | - $filter = $type !== null ? array('</' . $type) : array('</li', '</dd', '</dt'); |
|
242 | + $filter = $type !== null ? array('</'.$type) : array('</li', '</dd', '</dt'); |
|
243 | 243 | |
244 | 244 | return in_array(substr($word, 0, 4), $filter); |
245 | 245 | } |