Chora::fatal($e);
}
-$title = sprintf(_("Source Annotation of %s (revision %s)"), Horde_Text::htmlAllSpaces($where), $rev);
+$title = sprintf(_("Source Annotation of %s (revision %s)"), Horde_Text_Filter::filter($where, 'space2html', array('charset' => NLS::getCharset(), 'encode' => true, 'encode_all' => true)), $rev);
$extraLink = sprintf('<a href="%s">%s</a> | <a href="%s">%s</a>',
Chora::url('co', $where, array('r' => $rev)), _("View"),
Chora::url('co', $where, array('r' => $rev, 'p' => 1)), _("Download"));
}
$prev = $fl->queryPreviousRevision($rev);
- $line = Horde_Text::htmlAllSpaces($line['line']);
+ $line = Horde_Text_Filter::filter($line['line'], 'space2html', array('charset' => NLS::getCharset(), 'encode' => true, 'encode_all' => true));
include CHORA_TEMPLATES . '/annotate/line.inc';
}
$log = $lg->queryLog();
$attic = $currFile->isDeleted();
$fileName = $where . ($attic ? '/' . 'Attic' : '') . '/' . $realname;
- $name = Horde_Text::htmlAllSpaces($realname);
+ $name = Horde_Text_Filter::filter($realname, 'space2html', array('charset' => NLS::getCharset(), 'encode' => true, 'encode_all' => true));
$url = Chora::url('browsefile', $fileName);
$readableDate = Chora::readableTime($date);
if ($log) {