zip import - remove html tags added by Trilium

This commit is contained in:
contributor
2023-05-04 19:56:02 +03:00
parent bb8fd2b054
commit 386e8dd32e
2 changed files with 16 additions and 2 deletions

View File

@@ -257,11 +257,11 @@ async function exportToZip(taskContext, branch, format, res, setHeaders = true)
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="${cssUrl}">
<base target="_parent">
<title>${htmlTitle}</title>
<title data-trilium-title>${htmlTitle}</title>
</head>
<body>
<div class="content">
<h1>${htmlTitle}</h1>
<h1 data-trilium-h1>${htmlTitle}</h1>
<div class="ck-content">${content}</div>
</div>