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
Warning: validateDOMNesting(...): Whitespace text nodes cannot appear as a child of <table>. Make sure you don't have any extra whitespace between tags on each line of your source code.
273
+
```
274
+
275
+
However, this option may strip out intentional whitespace:
@@ -288,6 +314,10 @@ parse('<div /><div />'); // returns single element instead of array of elements
288
314
289
315
See [#158](https://github.com/remarkablemark/html-react-parser/issues/158).
290
316
317
+
#### I get "Warning: validateDOMNesting(...): Whitespace text nodes cannot appear as a child of table."
318
+
319
+
Enable the [trim](https://github.com/remarkablemark/html-react-parser#trim) option. See [#155](https://github.com/remarkablemark/html-react-parser/issues/155).
0 commit comments