| ' . htmlspecialchars($this->get_label($p, true)) . ' | ';
- $h .= '';
- for ($i = 0; $i < count($this->_index[$subject][$p]); $i++) {
- if ($i > 0) {
- $h .= ' ';
- }
- if ($this->_index[$subject][$p][$i]['type'] === 'literal') {
- $h .= htmlspecialchars($this->_index[$subject][$p][$i]['value']);
- } else {
- $h .= '';
- if ($guess_labels) {
- $h .= htmlspecialchars($this->get_label($this->_index[$subject][$p][$i]['value']));
- } else {
- $h .= htmlspecialchars($this->_index[$subject][$p][$i]['value']);
- }
+ foreach ($subjects as $subject) {
+ if (count($subjects) > 1) {
+ $h .= '' . "\n";
+ }
- $h .= '';
+ $h .= '' . "\n";
+ $h .= ' | ';
+ $h .= '
' . "\n";
}
+
+ $h .= '