Documentation URL
https://biomejs.dev/linter/rules/no-template-curly-in-string/
Description
It seems that the output of the diagnostics, though wrapped into a <pre> in the MDX, is still (partially) processed by the markdown pipeline:
- Backticks
` are removed from the output.
- Double quotes
" are replaced by fancy quotes “ and ”
>< (written in the MDX as ><) is sometimes displayed as >< on the final page due to double escaping. Other occurences of > and < properly appear as > and <.
I have checked the problematic text sections using the playground at https://remark.js.org/, where they are rendered without problems. So the problem is probably somewhere in our setup or Astro's setup. If I had to guess, I'd say its related to MDX processing and/or smartypants.
Expectations
Diagnostic output is rendered as-is like the codeblocks.
Code of Conduct
Documentation URL
https://biomejs.dev/linter/rules/no-template-curly-in-string/
Description
It seems that the output of the diagnostics, though wrapped into a
<pre>in the MDX, is still (partially) processed by the markdown pipeline:`are removed from the output."are replaced by fancy quotes“and”><(written in the MDX as><) is sometimes displayed as><on the final page due to double escaping. Other occurences of>and<properly appear as>and<.I have checked the problematic text sections using the playground at https://remark.js.org/, where they are rendered without problems. So the problem is probably somewhere in our setup or Astro's setup. If I had to guess, I'd say its related to MDX processing and/or smartypants.
Expectations
Diagnostic output is rendered as-is like the codeblocks.
Code of Conduct