mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
chore(server): fix clipper
This commit is contained in:
parent
848dc51a7a
commit
4c6a742af7
@ -183,7 +183,7 @@ export function processContent(images: Image[], note: BNote, content: string) {
|
|||||||
const dom = parse(rewrittenContent);
|
const dom = parse(rewrittenContent);
|
||||||
|
|
||||||
// Get the content inside the body tag and serialize it
|
// Get the content inside the body tag and serialize it
|
||||||
rewrittenContent = dom.querySelector("body")?.innerHTML ?? "";
|
rewrittenContent = dom.innerHTML ?? "";
|
||||||
|
|
||||||
return rewrittenContent;
|
return rewrittenContent;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user