You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have notes that include Templater (plugin) code snippets I keep for reference. When I use Quickadd (capture mode) to insert content into these notes, the Templater code is executed and the content of the code blocks is deleted.
To Reproduce
Steps to reproduce the behavior:
Create a new note with the following code block (ensure to encapsulate it with triple backticks)
<%*alert("hello")%>
It should look like this in your note:
Use Quickadd (capture mode) to insert some content into your note.
Notice, the javascript is executed and the contents of the code block is deleted.
Expected behavior
Quickadd will add the content to the note and not execute any existing code blocks within the note.
Desktop (please complete the following information):
OS: MacOS
Browser: Safari
Version Quickadd 1.10.0
Smartphone (please complete the following information):
Device: iPhone12
OS: 16.6.1
Browser Safari
Quickadd 1.10.0
The text was updated successfully, but these errors were encountered:
I notice the same behavior. I don't use the Assistant very often so I'm not sure when this began.
I'll add that when I ask the Assistant for some code, then that code itself gets executed and is removed from the printed output. For example, this prompt:
Please write a templater script that displays an alert with the text "Hello World!". Format it properly, with <%* at the beginning and %> at the end, so I can run it as is.
...will result in the alert popping 2 times, and then something like this in the note:
Here’s the templater script that displays an alert with the text "Hello World!":
```markdown
```
Describe the bug
I have notes that include Templater (plugin) code snippets I keep for reference. When I use Quickadd (capture mode) to insert content into these notes, the Templater code is executed and the content of the code blocks is deleted.
To Reproduce
Steps to reproduce the behavior:
It should look like this in your note:
Expected behavior
Quickadd will add the content to the note and not execute any existing code blocks within the note.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: