Поправки багов
This commit is contained in:
@@ -139,7 +139,7 @@ class AuthorPage extends BasePage {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
const title = b.book.title || 'Без названия';
|
const title = `${b.book.title || 'Без названия'} (${b.book.ext})`;
|
||||||
entry.push(
|
entry.push(
|
||||||
this.makeEntry({
|
this.makeEntry({
|
||||||
id: b.book._uid,
|
id: b.book._uid,
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ class BasePage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
makeLink(attrs) {
|
makeLink(attrs) {
|
||||||
|
attrs.href = he.escape(attrs.href);
|
||||||
return {'*ATTRS': attrs};
|
return {'*ATTRS': attrs};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user