Skip to content

Commit b6813dd

Browse files
docs(readme): update FAQ with how to use trim with replace
1 parent 9b27fcd commit b6813dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,10 @@ See [#62](https://github.com/remarkablemark/html-react-parser/issues/62) and [ex
449449
450450
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).
451451
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).
455+
452456
## Performance
453457
454458
Run benchmark:

0 commit comments

Comments
 (0)