Skip to content

Commit 83ef340

Browse files
committed
fix: allow showing HTML-like messages for compile errors
1 parent 118331e commit 83ef340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/overlay/components/CompileErrorTrace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function CompileErrorTrace(document, root, props) {
2929
errorParts.unshift(errorMessage);
3030

3131
const stackContainer = document.createElement('pre');
32-
stackContainer.innerHTML = ansiHTML(entities.encode(errorParts.join('\n')));
32+
stackContainer.innerHTML = entities.decode(ansiHTML(entities.encode(errorParts.join('\n'))));
3333
stackContainer.style.fontFamily = [
3434
'"Operator Mono SSm"',
3535
'"Operator Mono"',

0 commit comments

Comments
 (0)