This commit is contained in:
Stavros Korokithakis
2021-12-15 02:41:34 +02:00
parent 22388bed8f
commit e81cae09c6
6 changed files with 68 additions and 8 deletions

View File

@@ -157,7 +157,9 @@ class JoplinExporter:
def replacement(match):
item_id = match.group(1)
new_url = self.get_note_url_by_id(item_id)
if not new_url:
if new_url:
new_url += ".html"
else:
new_url = self.get_resource_url_by_id(item_id)
if not new_url:
new_url = item_id