glushchenko / fsnotes

Notes manager for macOS/iOS
https://fsnot.es
MIT License
6.37k stars 468 forks source link

Table Of Content (created using {{TOC}}) links don't work in some cases #1692

Closed dmrlx closed 7 months ago

dmrlx commented 7 months ago

Description

Table Of Content (created using {{TOC}}) links don't work in some cases and open strange windows instead of following the link.

image

To Reproduce

  1. Create new note
  2. Place following structure there
# Header

## New 1

## New 2
  1. Place {{TOC}} instruction after 1st level header
# Header

{{TOC}}

## New 1

## New 2
  1. Toggle preview (⌘+/)

  2. Click to any 2nd level link

  3. image

Expected behavior

A jump to the appropriate header is expected to occur

FSNotes version

Version 6.6.7 (614) from store

macOS/iOS version

macOS 14.2.1

Additional context

No response

glushchenko commented 7 months ago

Thank you for detailed bug report, will be fixed ASAP.

glushchenko commented 7 months ago

Fixed here: https://github.com/glushchenko/fsnotes/releases/download/6.6.8/FSNotes_6.6.8.zip