jonkemp / inline-css

Inline css into an html file.
MIT License
429 stars 84 forks source link

Parsing fails for font imports with multiple weights due to CSSOM parser issue #122

Open RahulLanjewar93 opened 1 year ago

RahulLanjewar93 commented 1 year ago

CSSOM doesn't expect ; inside import statements. However while importing fonts we can have multiple weights, where in we will have to use the ;.

In this case, the parsing fails. Have attached the issue link below. The workaround is also mentioned in the thread for whoever is facing this issue. https://github.com/NV/CSSOM/issues/116

RahulLanjewar93 commented 1 year ago

@jonkemp @kylemac if there's a known issue section, maybe we can add this there.