Information
- Language: wiki
- Plugins: unknown
Description
While using Obsidian I noticed that wiki formatted codeblocks were rendering incorrectly/inconsistently when using nested template tags. The issue is also reproducible on the test page.
From what I can tell, it gets hung up on the first pair of closing brackets and ignores the rest of the line (or at least template tag).
Code snippet
Test page
The code being highlighted incorrectly.
{{Template1|{{Template2|arg1}}|{{Template2}}}}
{{Template1|arg1|arg2}}
This is the same snippet in Wikipedia's Source editing mode with Syntax highlighter turned on:

Information
Description
While using Obsidian I noticed that wiki formatted codeblocks were rendering incorrectly/inconsistently when using nested template tags. The issue is also reproducible on the test page.
From what I can tell, it gets hung up on the first pair of closing brackets and ignores the rest of the line (or at least template tag).
Code snippet
Test page
The code being highlighted incorrectly.
This is the same snippet in Wikipedia's Source editing mode with Syntax highlighter turned on: