jrief / djangocms-cascade

Build Single Page Applications using the Django-CMS plugin system
MIT License
165 stars 85 forks source link

Windows path signs in the icon fonts folder path causing rendering problem during icon plugins addition. #403

Open stapaw opened 3 years ago

stapaw commented 3 years ago

Hello,

the problem is that the list of icons from imported fonts does not render when adding cascade icon plugins.

The cause is different signs in the Windows path to the font folder ('\\', not '/'), which results in wrong joined _stylesheeturl.

I opened PR #402 with the fix converting problematical part to posix path (which is compatible with joining parts with '/' later) using pathlib.

Thanks for your work with cascade :)