Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./ relative paths not replaced #133

Open
mix3d opened this issue Feb 4, 2016 · 1 comment
Open

./ relative paths not replaced #133

mix3d opened this issue Feb 4, 2016 · 1 comment

Comments

@mix3d
Copy link

mix3d commented Feb 4, 2016

If a reference to a css or js file is prepended with a ./, the parser will not replace the reference, but an open local reference works fine.

eg:

<link href="./assets/css/app_icons.min.css" rel="stylesheet">
<link href="./assets/css/application.css" rel="stylesheet">

will not work, but the following does:

<link href="assets/css/app_icons.min.css" rel="stylesheet">
<link href="assets/css/application.css" rel="stylesheet">
@mix3d
Copy link
Author

mix3d commented Feb 25, 2016

Seems like this is related to #88 .

Similarly, if I have a CDN setup to transparently grab all files from my site, such that all image, asset, and js files are prefixed with https://cdn.mysite.com, it will also ignore the reference and not update.

Right now I am prepared to do a false-reference, but prepending a non-existing folder with a unique string, and doing string replaces, but that seems very counter intuitive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant