MagicPython icon indicating copy to clipboard operation
MagicPython copied to clipboard

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

Open alexr00 opened this issue 2 years ago • 0 comments
trafficstars

  • 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 https://github.com/microsoft/vscode/issues/179043

alexr00 avatar Apr 11 '23 14:04 alexr00