We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd037c commit e1c0b12Copy full SHA for e1c0b12
packages/ra-ui-materialui/src/field/RichTextField.tsx
@@ -76,4 +76,4 @@ export interface RichTextFieldProps
76
RichTextField.displayName = 'RichTextField';
77
78
export const removeTags = (input: string) =>
79
- input ? input.replace(/<.+?>/gm, '') : '';
+ input ? input.replace(/<[^>]+>/gm, '') : '';
0 commit comments