Skip to content

Issue with inlineStyleToObject inline background-image #74

Open
@dlxu

Description

@dlxu

We are face an issue with background-image inline style. The image couldn't display if image saved in a folder with capital letters, got 404.

By looking at the implementation, it seems the problem is resulting from this line of code:

https://github.com/wrakky/react-html-parser/blob/f28597ee0d010d4142d0077c911868de69535efd/src/utils/inlineStyleToObject.js#L23

Please help to fix the issue, Thanks.

Derek

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions