diff --git a/obsidian_to_anki.py b/obsidian_to_anki.py index 0fb1fb4c..a964c550 100644 --- a/obsidian_to_anki.py +++ b/obsidian_to_anki.py @@ -288,7 +288,7 @@ class FormatConverter: @staticmethod def format_note_with_url(note, url): for key in note["fields"]: - note["fields"][key] += "
" + "".join([ + note["fields"][key] += "".join([ 'Obsidian'.format(url) ]) diff --git a/src/format.ts b/src/format.ts index 0e81dfad..e1fd5ff7 100644 --- a/src/format.ts +++ b/src/format.ts @@ -58,7 +58,7 @@ export class FormatConverter { } format_note_with_url(note: AnkiConnectNote, url: string, field: string): void { - note.fields[field] += '
Obsidian' + note.fields[field] += 'Obsidian' } format_note_with_frozen_fields(note: AnkiConnectNote, frozen_fields_dict: Record>): void {