We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f5cb91 commit 92f8afdCopy full SHA for 92f8afd
.changeset/swift-parts-rest.md
@@ -0,0 +1,5 @@
1
+---
2
+"@react-email/preview-server": patch
3
4
+
5
+broken links to html code view tab
packages/preview-server/src/components/toolbar/code-preview-line-link.tsx
@@ -17,7 +17,7 @@ export const CodePreviewLineLink = ({
17
const newSearchParams = new URLSearchParams(searchParams);
18
newSearchParams.set('view', 'source');
19
if (type === 'html') {
20
- newSearchParams.set('lang', 'markup');
+ newSearchParams.set('lang', 'html');
21
} else if (type === 'react') {
22
newSearchParams.set('lang', 'tsx');
23
}
0 commit comments