fleetingnotes / fleeting-notes-obsidian

An Obsidian plugin to sync Obsidian with Fleeting Notes
MIT License
81 stars 7 forks source link

code injection bug #111

Closed matthewwong525 closed 1 year ago

matthewwong525 commented 1 year ago

Describe the bug creating a note with .filter(...) makes things not work

To Reproduce Steps to reproduce the behavior:

  1. Create a note with following text in content:
    .filter((ticket) => !ticket.content.includes("This is non-feedback"));
    asdf
  2. See error when syncing with plugin