Fix Storybook text knobs double-escaping text

This commit is contained in:
Evan Hahn 2021-10-18 17:43:58 -05:00 committed by GitHub
parent 54ffec00ed
commit f21ae5023a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ const makeModeKnob = pane =>
)
);
addDecorator(withKnobs);
addDecorator(withKnobs({ escapeHTML: false }));
addDecorator((storyFn /* , context */) => {
const contents = storyFn();