Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QP_iCalendar.php |
— | — | @@ -16,10 +16,10 @@ |
17 | 17 | protected function readParameters($params,$outputmode) { |
18 | 18 | SMWResultPrinter::readParameters($params,$outputmode); |
19 | 19 | if (array_key_exists('icalendartitle', $this->m_params)) { |
20 | | - $this->m_title = $this->m_params['icalendartitle']; |
| 20 | + $this->m_title = trim($this->m_params['icalendartitle']); |
21 | 21 | } |
22 | 22 | if (array_key_exists('icalendardescription', $this->m_params)) { |
23 | | - $this->m_description = $this->m_params['icalendardescription']; |
| 23 | + $this->m_description = trim($this->m_params['icalendardescription']); |
24 | 24 | } |
25 | 25 | } |
26 | 26 | |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QP_RSSlink.php |
— | — | @@ -17,10 +17,10 @@ |
18 | 18 | protected function readParameters($params,$outputmode) { |
19 | 19 | SMWResultPrinter::readParameters($params,$outputmode); |
20 | 20 | if (array_key_exists('rsstitle', $this->m_params)) { |
21 | | - $this->m_title = $this->m_params['rsstitle']; |
| 21 | + $this->m_title = trim($this->m_params['rsstitle']); |
22 | 22 | } |
23 | 23 | if (array_key_exists('rssdescription', $this->m_params)) { |
24 | | - $this->m_description = $this->m_params['rssdescription']; |
| 24 | + $this->m_description = trim($this->m_params['rssdescription']); |
25 | 25 | } |
26 | 26 | } |
27 | 27 | |