mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
convert H1 to H2 also during import
This commit is contained in:
@@ -275,7 +275,7 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
|
||||
return ""; // remove whole H1 tag
|
||||
}
|
||||
else {
|
||||
return match;
|
||||
return `<h2>${text}</h2>`;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user