1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[Bug] The f-string syntax (f""") in Python cannot be displayed properly in the VS Code-style text viewer

Open 1luik opened this issue 3 months ago • 1 comments

Contact Information

github的自动邮件提醒

1Panel Version

社区版 v1.10.32-lts

Problem Description

根标题一样

Steps to Reproduce

f"""a{c} """ b() 找个ai告诉他他跟你说太基础了

The expected correct result

Image 无法正常显示

Related log output

没有

Additional Information

Image发错位置了懒得删

1luik avatar Nov 11 '25 15:11 1luik

显然代码高亮把“str1 = f"测试文本"”当成注释文本了

Image

pooneyy avatar Nov 11 '25 16:11 pooneyy