server-ts: Fix build errors after merge

This commit is contained in:
Elian Doran 2024-04-02 23:34:12 +03:00
parent 090d353fd0
commit a420129631
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}); });

View File

@ -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