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:
Norbert de Langen 2019-10-30 08:23:17 +01:00 committed by GitHub
commit 85b2638929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',