Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent the addition of a quote breaking the widget css in playground #248

Merged
merged 2 commits into from
May 17, 2024

Conversation

DNR500
Copy link
Contributor

@DNR500 DNR500 commented May 17, 2024

Fixes LF-8323

@@ -13,6 +13,8 @@ import { ExpandableCard } from '../../../Card';
import { Alert, Autocomplete, StyledPopper } from '../DesignControls.style';
import { allFonts, defaultFont } from './fontDefinitions';

const santiseInputString = (value: string) => value.replace(/['"`]/g, '');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is a typo 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be fixed :-)

@chybisov chybisov merged commit 29e9f3f into main May 17, 2024
1 check passed
@chybisov chybisov deleted the prevent-quotes-being-added-to-font-value branch May 17, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants