Roam tag fixer makes changes to code blocks

Steps to reproduce

Open the Sandbox Vault and enable the Format Converter plugin.

Add the following code block to a note:

def example():
    #print('')
    #raise Exception('')
    pass

Open the command palette and select “Open format converter”.

Select “Roam Research tag fixer” and then “Start conversion”.

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The code should be unchanged.

Actual result

Any text in the code that looks like a tag is converted to a Markdown link, like this:

def example():
    [[print]]('')
    [[raise]] Exception('')
    pass

Environment

SYSTEM INFO:
	Obsidian version: v1.9.10
	Installer version: v1.8.9
	Operating system: Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6041 24.6.0
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

thanks