Skip to content

Improper @mentions in comments #4810

@Danp2

Description

@Danp2

Type: Bug

See Danp2/au3WebDriver#469 (comment) for example, where the code is correctly displayed.

In the comment widget, this code appears as

Local $IDX_Frame = 'test'
Local $s_CSS_Parser = '1 2 3 4'
Local $s_JavaScript = _
"	let style = document.createElement('style');									" & [@CRLF](https://github.com/CRLF) & _
"	style.id = 'WEBDRIVER_CSSStyles-theme" & $IDX_Frame & "';							" & [@CRLF](https://github.com/CRLF) & _
"	style.innerHTML = `" & $s_CSS_Parser & "`;										" & [@CRLF](https://github.com/CRLF) & _
"	document.documentElement.insertBefore(style, document.body.nextSibling);		" & [@CRLF](https://github.com/CRLF) & _
""
ConsoleWrite($s_JavaScript & [@CRLF)](https://github.com/CRLF))
ConsoleWrite(__WD_EscapeString($s_JavaScript, $JSON_MLREFORMAT) & [@CRLF)](https://github.com/CRLF))

Notice the multiple instances of [@CRLF)](https://github.com/CRLF). @CRLF shouldn't be evaluated as a user mention in this scenario.

Extension version: 0.63.2023050409
VS Code version: Code 1.78.0 (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:09:00.748Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions