obsidian-execute-code icon indicating copy to clipboard operation
obsidian-execute-code copied to clipboard

[BUG] Namespace is messed up (Ruby)

Open marwal-88 opened this issue 5 months ago • 2 comments

Describe the bug Namespace is messed up.

Software Version Linux 6.16.4-2-MANJARO x86_64 Manjaro Linux 25.0.8 Obsidian 1.9.12

To Reproduce

module Fail
  @title = 'one'
  @note = 'two'
end
  1. Click "Run"
  2. Read Error Message

(@title is expanded into the name of the note) (@note is expanded into an apps:// url) in my case: "modules_rbk" and "app://58be38b57dd39828e1ba6fb9110dd45d97b6/Ruby/modules_rkb.md"

Expected behavior Code ran in the codebox should not share namespace with the code responsible for executing the code in the codebox.

marwal-88 avatar Sep 01 '25 17:09 marwal-88