From 7b8d8b367fa1c98d8317bcf4e8c34f9c57cb1d9a Mon Sep 17 00:00:00 2001 From: Mark McCulloh Date: Tue, 19 Sep 2023 09:31:17 -0400 Subject: [PATCH] fix(console): missing brackets in console BSOD (#4215) Before image After image *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- apps/wing-console/console/ui/src/shared/use-file-link.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/wing-console/console/ui/src/shared/use-file-link.tsx b/apps/wing-console/console/ui/src/shared/use-file-link.tsx index cb915d1da81..0aca6142df3 100644 --- a/apps/wing-console/console/ui/src/shared/use-file-link.tsx +++ b/apps/wing-console/console/ui/src/shared/use-file-link.tsx @@ -8,6 +8,8 @@ export const createHtmlLink = ( expanded: boolean = false, ) => { return error + .replaceAll("<", "<") + .replaceAll(">", ">") .replaceAll( /\B((?:[a-z]:)?[/\\]\S+):(\d+):(\d+)/gi, (match, path, line, column) => {