mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
server-ts: Fix build errors after merge
This commit is contained in:
parent
090d353fd0
commit
a420129631
@ -20,7 +20,7 @@ const beccaLoaded = new Promise<void>((res, rej) => {
|
|||||||
cls.init(() => {
|
cls.init(() => {
|
||||||
load();
|
load();
|
||||||
|
|
||||||
require('../services/options_init.js').initStartupOptions();
|
require('../services/options_init').initStartupOptions();
|
||||||
|
|
||||||
res();
|
res();
|
||||||
});
|
});
|
||||||
|
@ -137,7 +137,7 @@ class NoteContentFulltextExp extends Expression {
|
|||||||
return content.trim();
|
return content.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
stripTags(content) {
|
stripTags(content: string) {
|
||||||
// we want to allow link to preserve URLs: https://github.com/zadam/trilium/issues/2412
|
// we want to allow link to preserve URLs: https://github.com/zadam/trilium/issues/2412
|
||||||
// we want to insert space in place of block tags (because they imply text separation)
|
// we want to insert space in place of block tags (because they imply text separation)
|
||||||
// but we don't want to insert text for typical formatting inline tags which can occur within one word
|
// but we don't want to insert text for typical formatting inline tags which can occur within one word
|
||||||
|
Loading…
x
Reference in New Issue
Block a user