Search result lines truncate if there is a period in a wikilink

Hi! If a wikilink has periods in it, the search results are truncating after the first period in the wikilink

Steps to reproduce

  1. Create a note called test-birthday with the following text:
    Sally’s birthday is on [[2021.05.15]]
    Sally’s birthday is on [[2021-05-15]]

  2. Search for “Sally’s Birthday” (either in the search bar or with query in code block)

  3. The results will show as
    Sally’s Birthday is on [[2021.
    Sally’s Birthday is on [[2021-05-15]]

Expected result

The first match returned should show the full line
Sally’s Birthday is [[2021.05.15]] like the second line with dashes does

Actual result

the rest of the line is truncated after [[2021.


  • Operating system: MacOS 10.15.7
  • Obsidian version: v0.10.2

Additional information


A post was merged into an existing topic: Search result lines cut at a period character