convert H1 to H2 also during import

This commit is contained in:
zadam
2020-11-01 20:38:39 +01:00
parent 8e8148ce42
commit 9e97fdcc49
3 changed files with 18 additions and 4 deletions

View File

@@ -275,7 +275,7 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
return ""; // remove whole H1 tag
}
else {
return match;
return `<h2>${text}</h2>`;
}
});