diff --git a/lib/core/note_serializer.dart b/lib/core/note_serializer.dart index 8ad94c34..6d623584 100644 --- a/lib/core/note_serializer.dart +++ b/lib/core/note_serializer.dart @@ -172,7 +172,7 @@ class NoteSerializer implements NoteSerializerInterface { if (line.trim().isEmpty) { continue; } - startsWithH1 = line.startsWith('#'); + startsWithH1 = line.startsWith('#') && !line.startsWith('##'); break; }