Skip to content

Commit

Permalink
Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Feb 13, 2023
1 parent 1dd037c commit e1c0b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/field/RichTextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ export interface RichTextFieldProps
RichTextField.displayName = 'RichTextField';

export const removeTags = (input: string) =>
input ? input.replace(/<.+?>/gm, '') : '';
input ? input.replace(/<[^>]+>/gm, '') : '';

0 comments on commit e1c0b12

Please sign in to comment.