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
I looked into the issue, But unfortunately, this part of the syntax is actually provided by another syntax extension that the extension depends on: the HTML syntax extension.
So, as a downstream, it's difficult for me to make productive changes to this. But at the same time, this is not an upstream error, because HTML syntax has no obligation to parse Wikitext content.
However, this problem can be solved. I could try injecting syntax upstream or use LSP (that's another story).
However, due to the difficulty of implementation and my recent lack of time and energy to deal with it further, this issue may take quite a while to be resolved. This issue will remain open until the issue is resolved.
Normal rendering:
{{#if: {{{2|}}} | style="--test: {{{2|}}}" }}
Abnormal rendering:
<div {{#if: {{{2|}}} | style="--test: {{{2|}}}" }}>
In the image, snippet
#if: {{{2|}}}
has incorrect highlight.Also, is the highlight of snippet
--test: {{{2|}}}
the expected effect?Thanks for your work! 💖
The text was updated successfully, but these errors were encountered: