pylixm / django-mdeditor

Django-mdeditor is Markdown Editor plugin application for django base on Editor.md.
https://pypi.org/project/django-mdeditor/
GNU General Public License v3.0
485 stars 109 forks source link

Relative paths to some fonts in CSS files incorrect #32

Closed karlsaintlucy closed 5 years ago

karlsaintlucy commented 5 years ago

Several of the url() references to fonts in .css files point to font files using "...", not "..", and the references fail as a result.

An example:

mdeditor/css/.../fonts/editormd-logo.eot can't be found, because the font file exists at mdeditor/css/../fonts/editormd-logo.eot.

I discovered this when trying to build a Django app to Heroku — I can fix the problem in my local instance, but the Heroku build fails because django-mdeditor gets downloaded with PIP to build the app.

karlsaintlucy commented 5 years ago

I tried to fix this in a pull request.

pylixm commented 5 years ago

Thanks for your contribution.