Index: trunk/extensions/SemanticResultFormats/Exhibit/SRF_Exhibit.php |
— | — | @@ -103,6 +103,7 @@ |
104 | 104 | if(array_key_exists($param, $this->m_params)) $facparams[] = 'ex:'.$param.'="'.$this->encodePropertyName($this->m_params[$param]).'" '; |
105 | 105 | } |
106 | 106 | foreach( $facets as $facet ) { |
| 107 | + $facet = trim($facet); |
107 | 108 | $fieldcounter=0; |
108 | 109 | foreach ($res->getPrintRequests() as $pr){ |
109 | 110 | if($this->encodePropertyName($pr->getLabel()) == $this->encodePropertyName($facet)){ |