mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 12:31:06 +08:00
Stop inserting HTML tags from error messages (#8363)
Stop inserting HTML tags from error messages Co-authored-by: Norbert de Langen <ndelangen@me.com>
This commit is contained in:
commit
85b2638929
@ -14,7 +14,9 @@ import Events from '@storybook/core-events';
|
||||
import { initializePath, setPath } from './url';
|
||||
import { NoDocs } from './NoDocs';
|
||||
|
||||
const ansiConverter = new AnsiToHtml();
|
||||
const ansiConverter = new AnsiToHtml({
|
||||
escapeXML: true,
|
||||
});
|
||||
|
||||
const classes = {
|
||||
MAIN: 'sb-show-main',
|
||||
|
Loading…
x
Reference in New Issue
Block a user