react-html-parser
react-html-parser copied to clipboard
fallback for attribute names to unchanged name
Would be helpful to use the unmodified attribute name as a fallback when there is no internal mapping of attributes. This would allow a transform or processNodes function to implement some special handling for attributes (like e.g. dealing with event handlers). In any case the htmlparser2 already converts attributes to lower case - so there should be no compatibility problem for existing code.