We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed1b0ac commit 5c370f8Copy full SHA for 5c370f8
src/pages/logseq/tool.ts
@@ -24,6 +24,7 @@ export const cleanBlock = (block: LogseqBlockType): string => {
24
.replaceAll(/^:logbook:[\S\s]*?:end:$/gim, '') // clean logbook
25
.replaceAll(/^:LOGBOOK:[\S\s]*?:END:$/gim, '') // clean logbook
26
.replaceAll(/\$pfts_2lqh>\$(.*?)\$<pfts_2lqh\$/gim, '<em>$1</em>') // clean highlight
27
+ .replaceAll(/{{video .*?}}/gm, '')
28
.replaceAll(/^\s*?-\s*?$/gim, '')
29
.trim();
30
};
0 commit comments