* Removed final format() call in Story.link_filter(); if we are lucky we do not need any HTML entities anymore anyway thanks to UTF-8
* Removed obsolete code
This commit is contained in:
parent
aa8bcaec6c
commit
1f4c87e4d1
2 changed files with 1 additions and 16 deletions
|
|
@ -417,21 +417,6 @@ function list_macro(param, id, limit) {
|
|||
} else if (id === "updates") {
|
||||
collection = root.updates.list(0, limit);
|
||||
skin = "Site#preview";
|
||||
/*
|
||||
var site;
|
||||
collection = [];
|
||||
for (var i=0; i<root.size(); i+=1) {
|
||||
site = root.get(i);
|
||||
res.debug(site)
|
||||
if (this.mode === Site.OPEN || this.mode === Site.PUBLIC &&
|
||||
this.status !== Site.BLOCKED) {
|
||||
collection.push(site);
|
||||
}
|
||||
if (collection.length >= limit) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
*/
|
||||
} else {
|
||||
var site;
|
||||
var parts = id.split("/");
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@ Story.prototype.format_filter = function(value, param, mode) {
|
|||
|
||||
default:
|
||||
value = this.macro_filter(value, param);
|
||||
return format(this.url_filter(value, param));
|
||||
return this.url_filter(value, param);
|
||||
}
|
||||
}
|
||||
return String.EMTPY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue