react-html-parser icon indicating copy to clipboard operation
react-html-parser copied to clipboard

Fix style values containing upper-case characters

Open zhangbenber opened this issue 4 years ago • 4 comments

inlineStyleToObject('background:url(https://test.com/IMAGE.png)') returns: before: { background: 'url(https://test.com/image.png)' } after: { background: 'url(https://test.com/IMAGE.png)' }

zhangbenber avatar Mar 23 '21 03:03 zhangbenber

Coverage Status

Coverage remained the same at 100.0% when pulling 1a64a905b7fbd253a8f6d331d3e272e3b82fb505 on zhangbenber:fix-style-upper-case into e89bba4f8022a92418186cfaacfd473e81e31d92 on wrakky:master.

coveralls avatar Mar 23 '21 03:03 coveralls

@zhangbenber because this repository seems to be rather unmaintained, we at hedgedoc created a hard fork of the library and added some improvements. I would like to add your change to our fork (or you do it yourself with a PR). Are you okay with that?

mrdrogdrog avatar Aug 30 '21 17:08 mrdrogdrog

@zhangbenber because this repository seems to be rather unmaintained, we at hedgedoc created a hard fork of the library and added some improvements. I would like to add your change to our fork (or you do it yourself with a PR). Are you okay with that?

Great. Feel free to do that.

zhangbenber avatar Sep 01 '21 10:09 zhangbenber

Already done. Thanks :)

mrdrogdrog avatar Sep 04 '21 13:09 mrdrogdrog