mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix OPML export to include correct OPML version
This commit is contained in:
parent
52a8aae74f
commit
e628c30c89
@ -54,7 +54,7 @@ async function exportToOpml(exportContext, branch, version, res) {
|
|||||||
res.setHeader('Content-Type', 'text/x-opml');
|
res.setHeader('Content-Type', 'text/x-opml');
|
||||||
|
|
||||||
res.write(`<?xml version="1.0" encoding="UTF-8"?>
|
res.write(`<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<opml version="1.0">
|
<opml version="${version}">
|
||||||
<head>
|
<head>
|
||||||
<title>Trilium export</title>
|
<title>Trilium export</title>
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user