You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -449,6 +449,10 @@ See [#62](https://github.com/remarkablemark/html-react-parser/issues/62) and [ex
449
449
450
450
The TypeScript error occurs because `DOMNode` needs be an instance of domhandler's `Element`. See [migration](#migration) or [#199](https://github.com/remarkablemark/html-react-parser/issues/199).
451
451
452
+
### Can I enable `trim` for certain elements?
453
+
454
+
Yes, you can enable or disable [`trim`](#trim) for certain elements using the [`replace`](#replacedomnode) option. See [#205](https://github.com/remarkablemark/html-react-parser/issues/205).
0 commit comments