Mark
Mark
Still an issue: ``` # npm audit report mout =6.0.1 Depends on vulnerable versions of iso-3166-1-alpha-2 node_modules/facebook-nodejs-business-sdk ```
I'm not sure if I follow. Can you provide a reproducible example?
@Nainabbas is there an update on this issue?
I don't think it's possible to get the raw HTML in `replace`
Apologies for the late response @AlenToma but are you still unable to parse the HTML?
What is your error and can you provide a reproducible example @marcfielding1? You can use the [next](https://github.com/remarkablemark/html-react-parser/tree/v3.0.1/examples/next) example
Thanks for the question @h0jeZvgoxFepBQ2C, `attributesToProps` converts all keys to lowercase because the DOM/SVG attributes get remapped to React props (e.g., `class` to `className`). On the browser, the attributes technically...
@h0jeZvgoxFepBQ2C If you're using the library only on the server-side (Node.js), then you can override the [htmlparser2 options](https://github.com/remarkablemark/html-react-parser/tree/v1.4.7#htmlparser2). You can find a list of the parser options [here](https://github.com/fb55/htmlparser2/wiki/Parser-options#option-xmlmode).
@h0jeZvgoxFepBQ2C I feel the approach will add more complexity to `html-dom-parser`. If you really want to achieve this, one approach is to override Webpack to ensure `htmlparser2` is imported in...
Can you provide a reproducible example via [CodeSandbox](https://codesandbox.io/s/html-react-parser-z0kp6) or a GitHub repository?