MagicStack/MagicPython

`#` in read-only string highlights as a comment

alexr00 opened this issue · 0 comments

  • Editor name and version: VS Code version 1.77
  • Platform: Windows
  • Color scheme: Any
  • MagicPython version: Latest commit from main
  • A sreenshot:

image

  • 5-10 lines of surrounding code:
_html = r"""
        <!DOCTYPE html>
        <html>
            <head><meta charset="utf-8"></head>
            <body>
                    <span class="comment"># Python 3</span>
            </body>
        </html>
"""

Originally from @Wang-Yile in microsoft/vscode#179043